This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Which libgcc?
- To: "ecos-discuss at sourceware dot cygnus dot com" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: Re: [ECOS] Which libgcc?
- From: "Kenneth Porter" <kenneth_porter at kensingtonlabs dot com>
- Date: Fri, 04 Feb 2000 12:11:16 -0800 (PST)
- Reply-To: "Kenneth Porter" <kenneth_porter at kensingtonlabs dot com>
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