]> www.ginac.de Git - cln.git/blob - INSTALL
* cln.pc.in: Fix typo.
[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-2.95.x, gcc-3.[0-4]
15   - Linux/ia64, gcc-2.96, gcc-3.[2-3]
16   - Linux/arm, gcc-2.95.3, gcc-3.[0-3]
17   - Linux/sparc, gcc-2.95.3, gcc-3.[1-3]
18   - Linux/alpha, gcc-2.95.x, gcc-3.[0-3]
19   - Linux/powerpc, gcc-2.95.x, gcc-3.[0-3]
20   - Solaris 2.4 (sparc), gcc-2.95, gcc-3.[1-3]
21   - OSF/1 V4.0 (alpha), gcc-2.95, gcc-3.1
22   - Irix 6.5, gcc-2.95.x, gcc-3.0
23   - BeOS, gcc-2.95.x
24
25 The "make" step takes about 1 hour, on a P-II / 400 MHz / 256 MB.
26
27 If you use g++ gcc-2.95.x or gcc-3.x, I recommend adding "-fno-exceptions" 
28 to the CXXFLAGS. This will likely generate better code.
29
30 If you use g++ from gcc-3.0.4 or older on Sparc, add either "-O", "-O1" or
31 "-O2 -fno-schedule-insns" to the CXXFLAGS. With full "-O2", g++ miscompiles
32 the division routines. If you use g++ older than 2.95.3 on Sparc you should
33 also specify --disable-shared because of bad code produced in the shared
34 library. Also, do not use gcc-3.0 on Sparc for compiling CLN, it won't work
35 at all.
36
37 If you use g++ on OSF/1 or Tru64 using gcc-2.95.x, you should specify
38 --disable-shared because of linker problems with duplicate symbols in shared
39 libraries.  If you use g++ from gcc-3.0.n with n larger than 1, you should
40 not add -fno-exceptions to the CXXFLAGS, since that will generate wrong code
41 (gcc-3.1 is okay again, as is gcc-3.0).
42
43 More detailed installation instructions can be found in the documentation,
44 in the doc/ directory.