Building shared libraries on Solaris 2.5.1
Maurizio Loreti
loreti@pd.infn.it
Fri Oct 1 00:00:00 GMT 1999
Trevor Gattis <trevor@cs.stanford.edu> writes:
> I'm stumped as to how to build a shared object library using gcc. I
> haven't been able to find much documentation that talked about it, other
> than in man pages that mentioned using the -shared flag. When I try doing
> this, though, I get a bunch of errors:
I suggest that you grab from the web the GNU package "libtool"; with
it, you may create shared (and static) libraries using the same
commands on multiple platforms. If you need support for Solaris only,
you may get just the documentation, e.g. from my web site: open
http://wwwcdf.pd.infn.it/www/localdoc.html , then look for "libtool".
There you will find a *lot* more information than in the man pages,
and, I think, also the right answer to your question (the PIC stuff
and so on).
--
Maurizio Loreti http://wwwcdf.pd.infn.it/~loreti/mlo.html
Un. of Padova, Dept. of Physics - Padova, Italy loreti@padova.infn.it
More information about the Gcc-help
mailing list