shibboleth-dev - Re: target 1.2: compiling log4cpp on Solaris with Sun CC?
Subject: Shibboleth Developers
List archive
- From: Derek Morr <>
- To:
- Subject: Re: target 1.2: compiling log4cpp on Solaris with Sun CC?
- Date: Sat, 26 Jun 2004 13:23:16 -0400
Valery Tschopp wrote:
I deseperately try to compile the log4cpp on a solaris8 machine, using SUNWspro compiler...
<snip>
CC: Warning: Option -pthreads passed to ld, if ld is invoked, ignored otherwise
Note, according to Sun ( http://docs.sun.com/db/doc/806-6867/6jfpgdcob?a=view ) -- to compile with pthreads on Forte, you use "-lpthread". Scott, INSTALL.txt should probably be updated to reflect this (any chance you could also mention that blastwave.org has gcc for Solaris too :).
FWIW, I've build log4cpp on Solaris 8 with the following setup:
Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-12 2002/12/16 (SPARC)
Sun C++ 5.5 Patch 113819-08 2004/04/13 (x86)
export CC=/opt/SUNWspro/bin/cc
export CXX=/opt/SUNWspro/bin/CC
export CXXFLAGS="-fast -xarch=v8 -lrt -lpthread"
export MAKE=gmake
./configure --with-pthreads=yes --enable-static=no --enable-doxygen=no
You might have to set LD="CC -KPIC".
-derek
- target 1.2: compiling log4cpp on Solaris with Sun CC?, Valery Tschopp, 06/25/2004
- RE: target 1.2: compiling log4cpp on Solaris with Sun CC?, Scott Cantor, 06/25/2004
- Re: target 1.2: compiling log4cpp on Solaris with Sun CC?, Derek Morr, 06/26/2004
- Re: target 1.2: compiling log4cpp on Solaris with Sun CC?, Valery Tschopp, 06/29/2004
- RE: target 1.2: compiling log4cpp on Solaris with Sun CC?, Scott Cantor, 06/29/2004
- Re: target 1.2: compiling log4cpp on Solaris with Sun CC?, Valery Tschopp, 06/29/2004
Archive powered by MHonArc 2.6.16.