[ECOS] Which libgcc?

Kenneth Porter kenneth_porter@kensingtonlabs.com
Fri Feb 4 12:11:00 GMT 2000


On Fri, 4 Feb 2000 20:22:21 +0100 (MET), Andrew Lunn wrote:

> > I guess my question really amounts to what to put in the -L flag. I
> > need to tell ld where to look for libgcc.a
> 
> This may be a silly question, but why do you need to tell gcc where to
> look for libgcc.a? I never do.
> 
> I just link with -L{ecos-work-dir}/install/lib -Ttarget.ld -nostdlib

Hadn't even thought to try it. I just figured that since it wasn't in
.../install/lib, that I needed to say where it was. It didn't occur to
me that ld would have that path compiled in. I'll give it a shot.

Kenneth Porter
Kensington Laboratories, Inc.
mailto:kenneth_porter@kensingtonlabs.com
http://www.kensingtonlabs.com




More information about the Ecos-discuss mailing list