Illegal instruction - Help!

Aiqun Du aiqun_du@hotmail.com
Wed Jan 15 22:51:00 GMT 2003


Hi,

I am using linux gcc 3.2 (64 bit). I first run "gcc -c" on several .c files 
to get .o files. Then run following command to link them with a library:
gcc -N foo.o bar.o librtas.a

When I run the a.out, I got:
"Illegal instruction".

If run gcc without "-N", it gave error: "not enough room for program headers 
(allocated 6, need 7)".

librtas.a is built from 124 .o using ar command.

Do you have any idea what could cause the execution fail and how to work 
around it?

Thank you.

Alice







_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



More information about the Binutils mailing list