X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=INSTALL;h=ea91d4ee670d1a670b8af9abf213ec9295ab9742;hb=c3feefd8ab1c1568fde62ee9bae07a4bf9f3e195;hp=2afb7d1d6015f594ee5e640b7c1bf3accdcae952;hpb=dd9e0f894eec7e2a8cf85078330ddc0a6639090b;p=cln.git diff --git a/INSTALL b/INSTALL index 2afb7d1..ea91d4e 100644 --- a/INSTALL +++ b/INSTALL @@ -11,30 +11,29 @@ $ make install You need GNU make. On HP-UX, you also need GNU sed. Known to work with: - - Linux/x86, gcc-2.7.0, gcc-2.7.2, gcc-2.8.0, egcs-1.1 - - Solaris 2.4 (sparc), gcc-2.7.0, gcc-2.7.2, egcs-1.1 - - OSF/1 V4.0 (alpha), egcs-1.1 - - Irix 5.3, CC 4 - -The "make" step takes about 4 hours, on a 486 DX / 33 MHz / 8 MB. - -On Linux, g++ needs 15 MB to compile the tests. So better have -17 MB swap space and 1 MB room in $TMPDIR. - -If you use gcc and g++ version 2.7.x, don't add -O2 to the CXXFLAGS, because -"g++ -O" generates better code for libcln.a than "g++ -O2". - -If you use g++ version 2.8.x or egcs-2.91.x (a.k.a. egcs-1.1) or gcc-2.95.x, -I recommend adding "-fno-exceptions" to the CXXFLAGS. This will likely -generate better code. - -If you use g++ version egcs-2.91.x (egcs-1.1) or gcc-2.95.x on Sparc, add -either "-O" or "-O2 -fno-schedule-insns" to the CXXFLAGS. With full "-O2", -g++ miscompiles the division routines. Also, for --enable-shared to work, you -need egcs-1.1.2 or newer. - -On MIPS (SGI Irix 6), pass option "--without-gmp" to configure. gmp does -not work when compiled in "n32" binary format on Irix. + - 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 + +(*) 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. More detailed installation instructions can be found in the documentation, in the doc/ directory.