This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q: linker "-static" flag usage


On May 11, 2000, Denis Vakatov <vakatov@peony.nlm.nih.gov> wrote:

> 1) Will the "-static" flag affect the linking of ALL libs following
>    him in the linker command-line?

This is not a compiler issue, but a linker issue, and the linker is
not part of GCC.  The answer depends on which platform you're using.
I believe it may even affect libs listed before `-static', on some
platforms.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]