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???