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] |
Hi, > What is testcpro.c trying to do? testcpro.c is a simple program with one stmt PRINTF to print "tested" > Maybe it does floating point? If you compiled with a hard-float > toolchain and ran on a target without an FPU, hard-float ? that i don know... But I use : -D__GCC_FLOAT_NOT_NEEDED The ARM926-EJS tech ref man has: Coprocessor: A processor that supplements the main processor. It carries out additional functions that the main processor cannot perform. Usually used for floating-point math calculations, signal processing, or memory management. VFP9 coprocessor: The VFP9-S coprocessor is an implementation of the Vector Floating-Point architecture version 2 (VFPv2) and provides floating-point computation that is fully compliant with the ANSI/IEEE Std 754-1985, IEEE Standard for Binary Floating-Point Arithmetic. Thanx Pramod On 11/9/05, Carl Miller <chaz@energoncube.net> wrote: > 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 > > -- ---------------------------------------------------------------- PRAMOD P. K., <pra.engr@gmail.com> CDMA: 91- 9242195490. ---------------------------------------------------------------- ------ 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] |