Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Problem with float and GCC

2005-06-02 by sebfr74

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 



Thanks for you help
Sebastien

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.