54
edits
Line 56: | Line 56: | ||
Follow these instructions to obtain the necessary build tools: | Follow these instructions to obtain the necessary build tools: | ||
* Microsoft Windows | * [http://www.mozilla.org/build/win32.html#software Microsoft Windows] | ||
* Linux and Unix | * [http://www.mozilla.org/build/unix-details.html Linux and Unix] | ||
Follow these instructions to set up your environment: | Follow these instructions to set up your environment: | ||
* Microsoft Windows - Note that MOZCONFIG is not used for LDAP C SDK builds, so it is safe to leave it unset. | * [http://www.mozilla.org/build/win32.html#software Microsoft Windows] - Note that MOZCONFIG is not used for LDAP C SDK builds, so it is safe to leave it unset. | ||
* Solaris using GCC (instead of the Sun/Forte compiler) | * Solaris using GCC (instead of the Sun/Forte compiler) | ||
** Requires GCC 3.4 or later | ** Requires GCC 3.4 or later | ||
Line 67: | Line 67: | ||
** LD_LIBRARY_PATH must include the libgcc and libstdc++ libraries - note that if you are building 64 bit binaries, you must use the 64 bit libraries in the lib/sparcv9 directory instead of the 32 bit versions in the lib directory. | ** LD_LIBRARY_PATH must include the libgcc and libstdc++ libraries - note that if you are building 64 bit binaries, you must use the 64 bit libraries in the lib/sparcv9 directory instead of the 32 bit versions in the lib directory. | ||
** Use CXX=g++ CC=gcc when calling configure - also add CXXFLAGS=-m64 CFLAGS=-m64 if building 64 bit binaries | ** Use CXX=g++ CC=gcc when calling configure - also add CXXFLAGS=-m64 CFLAGS=-m64 if building 64 bit binaries | ||
* Other Linux and Unix. No environment variables need to be set. | * Other Linux and Unix. No environment variables need to be set. | ||
===Building using autoconf (preferred method)=== | ===Building using autoconf (preferred method)=== |
edits