This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Which libgcc?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]