- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Unable to execute a crosscompi led helloworld program on a PowerPC 440 embedded linux
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-20-2012 05:38 AM
Hi,
i have booted linux on the XC5VFX100T-2FF1136 based on the information i got here http://wiki.xilinx.com/powerpc-linux#toc11. Everything worked fine. But when i compile a hello_world program and test on the board, i get "command not found". When i test the file on my host machine (Ubuntu 10.10 x86_64) with "file hello_world", i get the following message "hello_world : ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped". I don't actually know what i might be doing wrong. I crosscompiled the hello_world.c with both eldk 4.2 and 5.1.1 to be sure the problem doesn't really lie in the version, and the difference i got was just the GNU/Linux version in "hello_world : ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped" for eldk 5.1.1 (the one above is for eldk 4.2).
Does anybody know what i might be doing wrong please?
Regards
Derick











