linking with glibc library

Tat Kee Tan tktan@EE.Princeton.EDU
Tue May 22 18:46:00 GMT 2001


Yes, my question refer to statically linked exec.
So, is there a solution ?

tatkee

On 22 May 2001, Ulrich Drepper wrote:

> Ben Elliston <bje@redhat.com> writes:
>
> > You might also want look at the -ffunction-sections option to GCC.
>
> Don't mention the option so carelessly.  -ffunction-section cannot
> work with statically linking glibc.  There is still some support for
> some ELF features missing in binutils before this can be done.
>
> --
> ---------------.                          ,-.   1325 Chesapeake Terrace
> Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
> Red Hat          `--' drepper at redhat.com   `------------------------
>



More information about the Binutils mailing list