09-12-2011 01:22 AM - edited 09-12-2011 03:51 AM
Hi, I got OSL linux running on my custom board with Xilinx Virtex 5 FX130.
Now, I would like to create an application and execute it under linux.
So I created an "Hello World!" application and cross compiled it under ELDK, (ppc_4xx-gcc -mcpu=440 -o mytest mytest.c) then I put it into the ramdisk that I use for linux and started all the stuff.
Now, I try to execute this executable under linux in this way ./mytest, but it tells me : "not found". I got the same even if I type only the executable name.
What is wrong with my method?
Solved! Go to Solution.
09-12-2011 05:50 AM - edited 09-12-2011 05:50 AM
I resolved this issue on my own, the problem was that even a simple program like Hello World needs certain libraries to be executed.
I tried to cross-compile with the option "-static" and now it's all right
04-26-2012 07:17 AM
could you please give me more details. Like your complete commands to compile a hello world program. And when you test the file (file hello, on your console), what do you get?.