diff --git a/ChangeLog b/ChangeLog index a814ccd..9b9ec5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-19 Richard Kreckel + + * INSTALL: Update toolchain info: no egcs, some more platforms. + * doc/cln.tex: Likewise. + 2001-05-18 Richard Kreckel * src/base/cl_low.h: prepended variables declared inside macros diff --git a/INSTALL b/INSTALL index eaeb0d3..8385bc0 100644 --- a/INSTALL +++ b/INSTALL @@ -11,22 +11,27 @@ $ make install You need GNU make. On HP-UX, you also need GNU sed. Known to work with: - - Linux/x86, gcc-2.8.0, egcs-1.1, gcc-2.95.x - - Solaris 2.4 (sparc), egcs-1.1, gcc-2.95 - - OSF/1 V4.0 (alpha), egcs-1.1, gcc-2.95 + - Linux/x86, gcc-2.95.x, gcc-3.0(pre) + - Linux/ia64, gcc-2.96, gcc-3.0(pre) + - Linux/arm, gcc-2.95.3 + - Linux/sparc, gcc-2.95.3 + - Linux/alpha, gcc-2.95.x + - Linux/powerpc, gcc-2.95.x + - Solaris 2.4 (sparc), gcc-2.95 + - OSF/1 V4.0 (alpha), gcc-2.95 - Irix 6.5, gcc-2.95 + - BeOS, gcc-2.95 The "make" step takes about 1 hour, on a P-II / 400 MHz / 64 MB. -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++ gcc-2.95.x or gcc-3.0, 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", "-O1" or "-O2 -fno-schedule-insns" to the CXXFLAGS. With full -"-O2", g++ miscompiles the division routines. Also, if you have g++ version -egcs-1.1.1 or older on Sparc, you must specify --disable-shared because g++ -would miscompile parts of the library. +If you use g++ from gcc-2.95.x on Sparc, add either "-O", "-O1" or +"-O2 -fno-schedule-insns" to the CXXFLAGS. With full "-O2", g++ miscompiles +the division routines. Also, 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. More detailed installation instructions can be found in the documentation, in the doc/ directory. diff --git a/doc/cln.tex b/doc/cln.tex index bc6a7fe..764b182 100644 --- a/doc/cln.tex +++ b/doc/cln.tex @@ -393,16 +393,14 @@ Currently CLN works only with the GNU @code{g++} compiler, and only in optimizing mode. So you should specify at least @code{-O} in the CXXFLAGS, or no CXXFLAGS at all. (If CXXFLAGS is not set, CLN will use @code{-O}.) -If you use @code{g++} version 2.8.x or egcs-2.91.x (a.k.a. egcs-1.1) or -gcc-2.95.x, I recommend adding @samp{-fno-exceptions} to the CXXFLAGS. -This will likely generate better code. - -If you use @code{g++} version egcs-2.91.x (egcs-1.1) or gcc-2.95.x on Sparc, -add either @samp{-O}, @samp{-O1} or @samp{-O2 -fno-schedule-insns} to the -CXXFLAGS. With full @samp{-O2}, @code{g++} miscompiles the division routines. -Also, if you have @code{g++} version egcs-1.1.1 or older on Sparc, you must -specify @samp{--disable-shared} because @code{g++} would miscompile parts of -the library. +If you use @code{g++} gcc-2.95.x or gcc-3.0, I recommend adding +@samp{-fno-exceptions} to the CXXFLAGS. This will likely generate better code. + +If you use @code{g++} from gcc-2.95.x on Sparc, add either @samp{-O}, +@samp{-O1} or @samp{-O2 -fno-schedule-insns} to the CXXFLAGS. With full +@samp{-O2}, @code{g++} miscompiles the division routines. Also, on OSF/1 or +Tru64 using gcc-2.95.x, you should specify @samp{--disable-shared} because of +linker problems with duplicate symbols in shared libraries. By default, both a shared and a static library are built. You can build CLN as a static (or shared) library only, by calling @code{configure} with