Subject: 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/30/2005 02:07:12
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.

Many Thanks,

Cherry