On 16/11/2007, Lukas Oboril <oboril.lukas at gmail.com> wrote: > Hi Shawn,
Alright, maybe the easier thing is to show you what I do (have done) to build this. 1) you need a clean checkout of stdcxx to try this, at the moment you can't run configure multiple times and have it work right. 2) I highly recommend you do a 32-bit build; 64-bit builds are likely to be problematic. 3) I export the following environment setup: export PATH=/opt/kdebld/bin:$PATH export CFLAGS="-Xc -errshort=full -errfmt=error -errwarn=%none -xO3 -s -features=extinl -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xc99=%all -xbuiltin=%all -xcsi -xinline=%auto -xustr=ascii_utf16_ushort -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xipo=0 -xF=%none -xalias_level=std -xthreadvar=%all -lc -lpthread -lposix4 -lrt -lpthread -lposix4 -lrt -mt -D_REENTRANT -D__EXTENSIONS__=1 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -_D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=200112L -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99 -DSOLARIS -DSOLARIS10 -D_RWSTD_REENTRANT -DNDEBUG -KPIC -xtarget=native -xO3 -s" export CPPFLAGS="-I/usr/include -D_REENTRANT -DPIC -D_RWSTD_REENTRANT" export CXXFLAGS="-library=no%Cstd -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -verbose=template -xO3 -s -xlang=c99 -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xinline=%auto -xlibmil -xustr=ascii_utf16_ushort -xlibmopt -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xipo=0 -xalias_level=compatible -lc -lpthread -lposix4 -lrt -mt -D_REENTRANT -DNDEBUG -KPIC -Qoption ccfe -features=gcc -xF=%none -xthreadvar=%all -D__EXTENSIONS__=1 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_XPG5 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -D_RWSTD_REENTRANT -DNDEBUG -KPIC -xtarget=native -xO3 -s" export LDFLAGS="-library=no%Cstd -Y P,/usr/lib -i -L/usr/lib -R/usr/lib -Bdynamic -lc -lCrun -lpthread -lposix4 -lrt -mt -D_REENTRANT -DSOLARIS -DSOLARIS10 -D_RWSTD_REENTRANT -Bdynamic -lc -lCrun -xldscope=symbolic -xipo=0 -xlibmil -xF=%none -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -z ignore -xtarget=native -xO3 -s" export CC=/opt/SUNWspro/bin/c99 export CXX=/opt/SUNWspro/bin/CC export CPP="$CC -E" export CXXCPP="$CXX -E" export MAKE=/opt/kdebld/bin/gmake 4) cp Solaris/configure to ./ from the top level source directory. 5) vi configure 6) Set BUILDTYPE="8d" (note the lowercase d) 7) ./configure 8) gmake ========= The most important thing out of all of this is probably having CC=/opt/SUNWspro/bin/c99... -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "We don't have enough parallel universes to allow all uses of all junction types--in the absence of quantum computing the combinatorics are not in our favor..." --Larry Wall
