This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q: linker "-static" flag usage
- To: Denis Vakatov <vakatov at peony dot nlm dot nih dot gov>
- Subject: Re: Q: linker "-static" flag usage
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 11 May 2000 17:56:16 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <200005111945.PAA01480@peony.nlm.nih.gov>
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