At 07:58 PM 6/2/05 +0000, sebfr74 wrote: >Hi, >I'm new to LPC2138, I'm actually modify a design who run on a dallas >87c520 to a LPC2138 with GCC. >I want to do this (it's run well with keil PK51 but not with GCC) : > >unsigned char Tab[3]; >float Resolution[8]; > >Resolution[1]=(float)(Tab[7]|Tab[8]*0x0100)*0.00001; > >It compil well but I've got this error on the linking : >error: undefined reference to '__floatsisf' >:/cygdrive/c/ARM7/../driver.c:293: undefined reference It's missing the floating point support. Either you are linking to a support library that doesn't include software based floating point support or you are not linking to the base support library. Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] Problem with float and GCC
2005-06-04 by Robert Adsett
Attachments
- No local attachments were found for this message.