This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Illegal instruction


On Wed, Nov 09, 2005 at 08:04:31PM +0530, Pramod P K wrote:
> 
> Now Plz tel me what could be the problem with
> 
> # ./testcpro-static
> Illegal instruction
> 
> Thanx

What is testcpro.c trying to do?  Is there code in there that will
generate instructions for a coprocessor module that doesn't exist
on your target hardware, and can't be emulated by your kernel?

Maybe it does floating point?  If you compiled with a hard-float
toolchain and ran on a target without an FPU, under a kernel that
didn't have floating point emulation built in, one might see the
symptom you've described.


                          ------Carl


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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