X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=INSTALL;h=1645ff3ffafea64f382a74a12d964cc8173d53d7;hb=1bf866178f2ccea16ae2f6cfc977279d42b17a00;hp=5592eb603eaa26806e68a8745f779b5b9703bd6a;hpb=154648c016022332e71929c160cb8e66bbaf1e97;p=cln.git diff --git a/INSTALL b/INSTALL index 5592eb6..1645ff3 100644 --- a/INSTALL +++ b/INSTALL @@ -11,30 +11,34 @@ $ 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, gcc-2.95 - - Solaris 2.4 (sparc), gcc-2.7.0, gcc-2.7.2, egcs-1.1, gcc-2.95 - - OSF/1 V4.0 (alpha), egcs-1.1, gcc-2.95 - - 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-2.95.x, gcc-3.[0-4] + - Linux/ia64, gcc-2.96, gcc-3.[2-3] + - Linux/arm, gcc-2.95.3, gcc-3.[0-3] + - Linux/sparc, gcc-2.95.3, gcc-3.[1-3] + - Linux/alpha, gcc-2.95.x, gcc-3.[0-3] + - Linux/powerpc, gcc-2.95.x, gcc-3.[0-3] + - Solaris 2.4 (sparc), gcc-2.95, gcc-3.[1-3] + - OSF/1 V4.0 (alpha), gcc-2.95, gcc-3.1 + - Irix 6.5, gcc-2.95.x, gcc-3.0 + - BeOS, gcc-2.95.x + +The "make" step takes about 1 hour, on a P-II / 400 MHz / 256 MB. + +If you use g++ gcc-2.95.x or gcc-3.x, I recommend adding "-fno-exceptions" +to the CXXFLAGS. This will likely generate better code. + +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. If you use g++ older than 2.95.3 on Sparc you should +also specify --disable-shared because of bad code produced in the shared +library. Also, do not use gcc-3.0 on Sparc for compiling CLN, it won't work +at all. + +If you use g++ on OSF/1 or Tru64 using gcc-2.95.x, you should specify +--disable-shared because of linker problems with duplicate symbols in shared +libraries. If you use g++ from gcc-3.0.n with n larger than 1, you should +not add -fno-exceptions to the CXXFLAGS, since that will generate wrong code +(gcc-3.1 is okay again, as is gcc-3.0). More detailed installation instructions can be found in the documentation, in the doc/ directory.