]> www.ginac.de Git - cln.git/blob - INSTALL
* Incorporate minor results from GCC version tests.
[cln.git] / INSTALL
1 Installation:
2 =============
3
4 As with any autoconfiguring GNU software, installation is as easy as this:
5
6 $ ./configure
7 $ make
8 $ make check
9 $ make install
10
11 You need GNU make. On HP-UX, you also need GNU sed.
12
13 Known to work with:
14   - Linux/x86, gcc-3.x, gcc-4.[0-2].x
15   - Linux/x86_64, gcc-3.[3-4], gcc-4.[0-2].x, gcc-4.3.0
16   - Linux/ia64, gcc-3.[2-4], gcc-4.[0-2].x
17   - Linux/arm, gcc-3.[0-3] (*), gcc-4.[0-2].x (*)
18   - Linux/mips, gcc-3.3, gcc-4.[0-2].x
19   - Linux/sparc, gcc-3.[1-3], gcc-4.[0-2].x
20   - Linux/alpha, gcc-3.[0-3], gcc-4.[0-2].x
21   - Linux/powerpc, gcc-3.[0-3], gcc-4.[0-2].x
22   - Linux/hppa, gcc-4.2.x (*)
23   - Solaris 2.4 (sparc), gcc-3.[1-3], gcc-4.[0-2].x (*)
24   - OSF/1 V4.0 (alpha), gcc-3.1
25   - Irix 6.5, gcc-3.0
26
27 (*) On these platforms, problems with the assembler routines have been
28 reported. It may be best to add "-DNO_ASM" to CPPFLAGS before
29 configuring.
30
31 Using gcc-4.2, the "make" step takes about 15 minutes, on an x86_64 / 2 GHz.
32
33 If you use g++ from gcc-3.0.4 or older on Sparc, add either "-O", "-O1" or
34 "-O2 -fno-schedule-insns" to the CXXFLAGS. With full "-O2", g++ miscompiles
35 the division routines. Do not use gcc-3.0 on Sparc for compiling CLN, it
36 won't work at all.
37
38 More detailed installation instructions can be found in the documentation,
39 in the doc/ directory.