Hi,I am trying to get started with some development on a Pandaboard. I have a simple HellowWorld program and Ubuntu 12.04 Precise Pangolin desktop on the PandaBoard. I can compile and run the program fine on the pandaboard but I am having difficulty cross compiling on a Ubuntu 12.04 desktop on a PC. I have tried the following:(1). Using the tool chain from CodeSourcery; The resulting application will not run on the PandaBoard, it returns -bash: HelloWorld.elf no such file or directory. If I use rpath to set the path to the rootfs and subsequently copy the rootfs supplied with CodeSourcery to the PandaBoard then the resulting application runs okay.(2). I can also do the same with the Linaro Toolchain and rootfsWhat I would really like to do is develop an application to run on the Ubuntu distibution on the PandaBoard but I would like to compile on mu Ubuntu PC. I tried scratchbox2 with the a rootfs for arm downloaded from http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ but as I have to specify the compiler I ended up with the same issue: HelloWorld.elf no such file or directory.I also tried suggestions at;andhttp://biffengineering.com/wiki/index.php?title=HowToSetupCrossCompileEnvironment
but I think many of the references are to deprectiated or non functional tools.
Is there a particular toolchain I can use to cross compile for PandaBoard on a Ubuntu 12.04 PC or is there a configuration I need to use. I'm pretty knew to linux development and would appreciate any insights.
What is the command you are using to compile?
It would help if you can also send the output of “which <your-compile-command-name>” so that we make sure the location of your compiler.
I suspect although you have codeSourcery installed your path might be pulling up default compiler from /usr/bin.
Vikas
Hi,I am trying to get started with some development on a Pandaboard. I have a simple HellowWorld program and Ubuntu 12.04 Precise Pangolin desktop on the PandaBoard. I can compile and run the program fine on the pandaboard but I am having difficulty cross compiling on a Ubuntu 12.04 desktop on a PC. I have tried the following:(1). Using the tool chain from CodeSourcery; The resulting application will not run on the PandaBoard, it returns -bash: HelloWorld.elf no such file or directory. If I use rpath to set the path to the rootfs and subsequently copy the rootfs supplied with CodeSourcery to the PandaBoard then the resulting application runs okay.(2). I can also do the same with the Linaro Toolchain and rootfsWhat I would really like to do is develop an application to run on the Ubuntu distibution on the PandaBoard but I would like to compile on mu Ubuntu PC. I tried scratchbox2 with the a rootfs for arm downloaded from http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ but as I have to specify the compiler I ended up with the same issue: HelloWorld.elf no such file or directory.