This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC problem on Solaris
- To: steve_wong at macroview dot com dot hk (Steve Wong)
- Subject: Re: GCC problem on Solaris
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 Mar 2001 00:55:22 -0300
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <000a01c0ac3c$9ee9c6b0$5201a8c0@STEVE>
On Mar 14, 2001, steve_wong@macroview.com.hk (Steve Wong) wrote:
> -shared means I am going to make a shared object
Right
> -static forces the linking to use archive file rather than shared object.
Not only that. On many platforms, it also forces the resulting
executable to not be dynamically linked at all. This obviously
doesn't make sense for shared libraries.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me