export CC=cc CXX=CC MAKE=/usr/gnu/bin/make CFLAGS="-m64 -fast" CXXFLAGS="-m64 -fast" CPPFLAGS="-I/usr/gnu/include" LDFLAGS="-m64 -L/usr/gnu/lib" export PATH=/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb/bin:/usr/gnu/bin crle -64 -c /var/ld/64/ld.config -l /lib/64:/usr/lib/64:/usr/gnu/lib/amd64:/usr/gnu/lib:/usr/local/lib:/usr/local/BerkeleyDB.5.1/lib
Solaris 11 下使用以下参数即可
$ export CFLAGS="-m64" CXXFLAGS="-m64"
autoconf-2.68, bash-4.2, bison-2.4.3, emacs-23.3, findutils-4.4.2, gawk-3.0.1, gcc-4.5.3, gettext-0.18.1.1, grep-2.9, groff-1.21, gzip-1.4, libiconv-1.13.1, libidn-1.20, m4-1.4.16, make-3.82, ncurses-5.8, patch-2.6, readline-6.2, sed-4.2, texinfo-4.9, wget-1.12
--prefix=/usr/local --openssldir=/usr/local/ssl threads shared solaris64-x86_64-cc
build_unix/ % ../dist/configure --enable-sql --enable-dbm --enable-tcl --enable-java --build=x86_64-pc-solaris2.10
-Dcc=cc -Dccflags="-m64 -fast" -xarch=sse4_2 -Uinstallusrbinperl -Duseshrplib -Uuselargefiles -Dusethreads -des