On 12/1/08, James Carlson <[EMAIL PROTECTED]> wrote: > 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.
I don't think so. gcc uses a builtin macro for iszero() and will not use libm or libsunmath. ON Makefiles can use compiler flags specific to the Sun compiler with cw -_cc=option. Irek _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
