I just built the tool chain for cross-compilation for powerpc target on my
The tools are working, I already compiled linux kernel and bootloader
they are running on my target board.
Now I want to configure my environment for writing applications targeted the
All my binaries are in /usr/local/bin/ and the rest (libs, includes, etc.)
I wrote a "Hellow word" application an tried to compile it with
user=>powerpc-linux-gcc test.c -o test
The error I got was:
/lib/libc.so.6 could not read symbols: Invalid operation
collect2: Id returned 1 exit status
I tried to run the following (with the same result):
user=>powerpc-linux-gcc -L/usr/local/powerpc-linux/lib test.c -o test
What I am doing wrong?
Any help will be greatly appreciated