This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld includes entire archive (.a) when compiling .elf file
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