[csw-maintainers] SUNWspro cc Libtool and "fast install" information.
Philip Brown
phil at bolthole.com
Fri Feb 20 18:25:26 CET 2009
On Fri, Feb 20, 2009 at 11:14:09AM -0600, Mike Watters wrote:
> Philip Brown wrote:
> > aha.. i think perhaps THIS is the one that enables or disables use of the
> > -lsunmath library. but not 100% sure
> >
> yep,
>
> you would pass -xnolibmopt after -fast to turn it off.
> This is appearently needed only for the solaris 8 sparc builds. reading
> changelog for solaris 10 they added a lot of the sunmath library to libm.
So, to close the loop for other people:
if you are compiling something on the "edge" of a dependancy tree, there's
nothing particularly bad about skipping the -xnolibmopt for compiles, if
you dont mind adding a dep on the sun math library.
The issues come, when you are packaging up a LIBRARY... if it depends on
-lsunmath, then everything else that uses that library, also has to link
with -lsunmath, usually.
So unless it provides a big performance boost, better to skip the -lsunmath
dependancy.
More information about the maintainers
mailing list