ld includes entire archive (.a) when compiling .elf file
Daniel Jacobowitz
drow@false.org
Fri Mar 10 22:43:00 GMT 2006
On Fri, Mar 10, 2006 at 05:34:45PM -0500, Daniel Jacobowitz wrote:
> BTW, I see that you were using GCC; --no-whole-archive probably doesn't
> get to LD, nor --gc-sections. You have to use -Wl for those options.
> But --whole-archive should be the default anyway.
Sigh, --no-whole-archive should be the default. Sorry about that.
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list