Roland Mainz writes:
> Is there a precedent that an application in OS/Net links with
> libsunmath.a ?

Only cmd/fps/fptest.

> The problem is that libm.so.2 lacks some functions (e.g.
> |iszero()|, |issubnormal()| etc.) and libsunmath.so.1 sits in
> /opt/SUNWspro/prod/lib/ ... ;-(

Note that depending on libsunmath.a likely means that OpenSolaris
participants can't easily compile with gcc.  That seems like a bad
thing to me.

> If there is no precedent is there an option to get the permission to
> link against libsunmath.a for libshell.so.1 ?

I don't think it's really a question of "permission."  Instead, it's a
system architectural question (if those functions are part of the
standard, then why are they not in the standard libm delivery and
instead squirrelled away in libsunmath?) and a design question (if you
do that, then what else, like gcc compilation, breaks?).

If they're generally needed but not part of the standard libm
interfaces, then they may need to live elsewhere, rather than in an
obscure static library.

This looks like a pretty dusty corner of the system to me, and I think
a bug filed against it would probably be helpful.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to