This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Illegal instruction - Help!
- From: "Aiqun Du" <aiqun_du at hotmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 15 Jan 2003 17:50:14 -0500
- Subject: Illegal instruction - Help!
- Bcc:
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