This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Illegal instruction - Help!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]