From 639fe6aa1d455b02c0209e890a8ee3bd5df71c1f Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 28 May 2001 20:24:02 +0000 Subject: [PATCH] * cln/cln.tex: documented problems with shared library on Sparc using gcc older than 2.95.3. --- doc/cln.tex | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/cln.tex b/doc/cln.tex index 0e1e6d9..3c0c2ab 100644 --- a/doc/cln.tex +++ b/doc/cln.tex @@ -318,7 +318,7 @@ If on your system, @samp{make} is not GNU @code{make}, you have to use The @code{configure} command checks out some features of your system and C++ compiler and builds the @code{Makefile}s. The @code{make} command -builds the library. This step may take 4 hours on an average workstation. +builds the library. This step may take about an hour on an average workstation. The @code{make check} runs some test to check that no important subroutine has been miscompiled. @@ -399,9 +399,12 @@ If you use @code{g++} gcc-2.95.x or gcc-3.0, I recommend adding 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. +@samp{-O2}, @code{g++} miscompiles the division routines. If you use +@code{g++} older than 2.95.3 on Sparc you should also specify +@samp{--disable-shared} because of bad code produced in the shared +library. 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