Prerequisites.
=============
-ANSI-compliant C++ compiler. GNU C++ compiler (version >= 3.4) is recommend.
+C++11-compliant C++ compiler. GNU C++ compiler (version >= 4.8.1) is recommend.
Non-GNU compilers might not work at the moment.
-GNU multiprecision library (http://gmplib.org), version > 4.0 (older 3.x
-versions might work too).
+GNU multiprecision library (http://gmplib.org), version > 4.0.
[Optional] To build CLN documentation texinfo and TeX are necessary.
If you install CLN from git, you also need
-git itself (http://git.or.cz), version >= 1.5.0
-GNU autoconf (http://www.gnu.org/software/autoconf), version >= 2.59
+git itself (http://git-scm.com), version >= 1.5.0
+GNU autoconf (http://www.gnu.org/software/autoconf), version >= 2.63
GNU libtool (http://www.gnu.org/software/libtool), version >= 1.5
-GNU automake (http://www.gnu.org/software/automake), version >= 1.8
+GNU automake (http://www.gnu.org/software/automake), version >= 1.11
Installation from a source .tar.bz2 distribution.
================================================
3. Run
-$ autoreconf -iv
+$ ./autogen.sh
to generate the `configure' script, and proceed in a standard way, i.e.
[become root if necessary]
# make install
-CLN is known to work with:
-=========================
-
- - Linux/x86, gcc-3.x, gcc-4.[0-2].x
- - Linux/x86_64, gcc-3.[3-4], gcc-4.[0-2].x, gcc-4.3.0
- - Linux/ia64, gcc-3.[2-4], gcc-4.[0-2].x
- - Linux/arm, gcc-3.[0-3] (*), gcc-4.[0-2].x (*)
- - Linux/mips, gcc-3.3, gcc-4.[0-2].x
- - Linux/sparc, gcc-3.[1-3], gcc-4.[0-2].x
- - Linux/alpha, gcc-3.[0-3], gcc-4.[0-2].x
- - Linux/powerpc, gcc-3.[0-3], gcc-4.[0-2].x
- - Linux/hppa, gcc-4.2.x (*)
- - Solaris 2.4 (sparc), gcc-3.[1-3], gcc-4.[0-2].x (*)
- - OSF/1 V4.0 (alpha), gcc-3.1
- - Irix 6.5, gcc-3.0
- - OS X Leopard (x86), gcc 4.0.1
-
-(*) On these platforms, problems with the assembler routines have been
-reported. It may be best to add "-DNO_ASM" to CPPFLAGS before
-configuring.
-
-Using gcc-4.2, the "make" step takes about 15 minutes, on an x86_64 / 2 GHz.
-
-If you use g++ from gcc-3.0.4 or older on Sparc, add either "-O", "-O1" or
-"-O2 -fno-schedule-insns" to the CXXFLAGS. With full "-O2", g++ miscompiles
-the division routines. Do not use gcc-3.0 on Sparc for compiling CLN, it
-won't work at all.
+On some platforms (arm, hppa, sparc), problems with the assembler routines
+have been reported. It may be best to add "-DNO_ASM" to CPPFLAGS before
+configuring:
+
+$ ./configure CPPFLAGS=-DNO_ASM
More detailed installation instructions can be found in the documentation,
in the doc/ directory.