Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2007
cross compilation error -- /usr/local/bin/ld: unrecognized option '--as-needed'
i am tried to compile bootloader(blob)source code for arm processor in i386 machine.I followed the steps given in the readme file. but it shows an error message like -- "/usr/local/bin/ld: unrecognized option '--as-needed".I compiled in rhel4 machine and the readme file tells the steps in fedora machine.is it make any problem??
Also i have another serious problem in my machine that it is not possible to RUN the normal c programs.I got an error messages-- bash: ./hello: cannot execute binary file.--
how can i overcome this???
09-02-2008 #2bash: ./hello: cannot execute binary file.--
is not a proper elf executable. You are compiling
normal C code in the normal way? Are you giving the
compiler some weird options?
If you cannot compile and run a trivial "hello" program,
you may need to reinstall the compiler.
/usr/local/bin/ld: unrecognized option '--as-needed"
- Join Date
- Sep 2008
you use host's linker.
bash: ./hello: cannot execute binary file.--