Yahoo Groups archive

Lpc2000

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

Message

Re: GNUARM "ERROR: lcd.o uses software FP, whereas main.elf uses hardware FP"

2006-02-23 by arrek_x

--- In lpc2000@yahoogroups.com, Mukund Deshmukh <betacomp_ngp@...> 
wrote:
>
> > > > I've changed my gcc compiler form gcc-3.3.1 to gnuarm's gcc-4.
0.1.
> > > > While integrating with Keil's uVision3 IDE I'm getting (while
> > linking)
> > > > above mentioned error (for every *.o
> > >
> > > Can you explain how to integrate gcc-4.0.1 with keil?
> > > I tried but uVision3 generates error like object file not found.
> > >
> >
> > Could you tell what exactly the error is?
> >
> 
> I am using winarm.
> The gcc compiler down loaded from Keil site works well.
> But if I use winarm, it gives object file not found.
> By the way I have observed that code size is large (5000) when I 
compile
> with gcc from keil and its very low (1000 bytes) when I compile with 
winarm.
> Any idea?

About code size - check optimization option (-O) in compiler's 
parameters list. There are several levels of optimization:

-O default
-O0 no opt.
-O1 level1
-O2 level2 (big speed)
-O3 level3
-Os small size

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.