GCC problem on Solaris

Alexandre Oliva aoliva@redhat.com
Wed Mar 14 19:55:00 GMT 2001


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



More information about the Gcc-help mailing list