]> www.ginac.de Git - cln.git/blob - INSTALL
* Update compiler information.
[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.x, gcc-4.1.[0-1]
15   - Linux/x86_64, gcc-3.[3-4], gcc-4.0.x, gcc-4.1.[0-1]
16   - Linux/ia64, gcc-3.[2-4], gcc-4.0.x, gcc-4.1.[0-1]
17   - Linux/arm, gcc-3.[0-3], gcc-4.0.x, gcc-4.1.[0-1]
18   - Linux/mips, gcc-3.3, gcc-4.0.x, gcc-4.1.[0-1]
19   - Linux/sparc, gcc-3.[1-3], gcc-4.0.x, gcc-4.1.[0-1]
20   - Linux/alpha, gcc-3.[0-3], gcc-4.0.x, gcc-4.1.[0-1]
21   - Linux/powerpc, gcc-3.[0-3], gcc-4.0.x, gcc-4.1.[0-1]
22   - Solaris 2.4 (sparc), gcc-3.[1-3]
23   - OSF/1 V4.0 (alpha), gcc-3.1
24   - Irix 6.5, gcc-3.0
25   - BeOS, gcc-2.95.x
26
27 The "make" step takes about 30 minutes, on a P-III / 1 GHz / 512 MB.
28
29 If you use g++ from gcc-3.x, I recommend adding "-fno-exceptions" to the
30 CXXFLAGS. This will likely generate better code.
31
32 If you use g++ from gcc-3.0.4 or older on Sparc, add either "-O", "-O1" or
33 "-O2 -fno-schedule-insns" to the CXXFLAGS. With full "-O2", g++ miscompiles
34 the division routines. Do not use gcc-3.0 on Sparc for compiling CLN, it
35 won't work at all.
36
37 If you use g++ on OSF/1 or Tru64 using gcc-3.0.n with n larger than 1, you
38 should not add -fno-exceptions to the CXXFLAGS, since that will generate
39 wrong code (gcc-3.1 is okay again, as is gcc-3.0).
40
41 More detailed installation instructions can be found in the documentation,
42 in the doc/ directory.