This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Failed at -Wl,-nmagic
But -static still enlarges the size of the output image. Maybe more
than the section alignment
which is 64K for my toolchain.
> This is because --nmagic disable linking against shared libraries (but not
> mentioned in the ld manual). GCC doesn't know that and still passes -lgcc_s
> to ld. But libgcc_s.a cannot be found. Adding -static when linking should
> work for you.
>
>
> Jie
>
PRC
Dec 2,2009