On Dec 15, 2007 11:52 PM, Shawn Walker <swalker at opensolaris.org> wrote: > If I have anything else, I'll pass it along.
Before I forget, I had the following build environment setup: export CFLAGS="-Xc -features=extinl -xcsi -xustr=ascii_utf16_ushort -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_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 -D_ISOC99_SOURCE -xtarget=native -xarch=sse3 -I/opt/local/include -xc99" export CC=/opt/SUNWspro/bin/cc export CXX=/opt/SUNWspro/bin/CC export CPP="$CC -E" export CXXCPP="$CXX -E" export MAKE=/opt/kdebld/bin/gmake export CXXFLAGS="-library=no%Cstd -I/opt/stdcxx/include -I/opt/local/include -R/opt/stdcxx/lib -L/opt/stdcxx/lib -lstdcxx" export LDFLAGS="-R/opt/local/lib -L/opt/local/lib" The paths may change for you obviously, but this should help. Pretty much all of these variables are fairly important for a successful build. CFLAGS especially so. The CFLAGS is based off a recommendation given to me by Stefan (excluding the xtarget, xarch options I chose to use). -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "To err is human -- and to blame it on a computer is even more so." - Robert Orben
