Subject: Re: getting -lgcc during a -D_STANDALONE build of the source tree
To: None <tech-toolchain@netbsd.org>
From: Cherry G. Mathew <cherry.g.mathew@gmail.com>
List: tech-toolchain
Date: 01/31/2005 20:09:35
On Sun, 30 Jan 2005 02:07:12 +0530, Cherry G. Mathew
<cherry.g.mathew@gmail.com> wrote:
> Hello List,
> 
> I'm trying to cross build some source files I hacked together within
> the src/sys/ subtree. I use LDFLAGS+= -nostdlib
> How do I also get the equivalent of a  -lgcc from within the subtree ?
> just putting -lgcc within the Makefile doesn't find libgcc.a for me.
> In fact I can't find libgcc.a at all within the source build tree. I
> suspect this is not the way to go about it.

P'haps not. But life goes on. For now I've made a copy of
lib1funcs.asm from gnu/dist/gcc/gcc/config/ia64 and put it into a temp
directory. I'm gonna keep this hack in until whenever.

-- 
~Cherry