Hello,

Christian Starkjohann wrote:
> > CC=cc
> > CFLAGS=-xO3 -xdepend -xchip=ultra -xarch=generic -DSOLARIS2 -Dinline=
> 
> Thanks! One question, though: Does the Sun compiler require the same LIBS=
> line as gcc or are the libraries linked in by default?

LIBS=-lsocket -lnsl

should be fine for gcc _and_ Sun cc, at least for Solaris 2.6 and above
(tested here for Solaris 2.6 and 8).

Don't use "-R/usr/ucblib -L/usr/ucblib" (as adviced in Makefile.config)
on recent Solaris versions without a very good reason (which I don't see here)!


HTH,
Thomas

-- 
Thomas Anders <[EMAIL PROTECTED]>
Hahn-Meitner-Institut Berlin, Germany
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To unsubscribe send a mail with the words "unsubscribe sharity-talk" in the
body to <[EMAIL PROTECTED]>. If you want to reach a human, please write to
<[EMAIL PROTECTED]>.

Reply via email to