Browse Source

* cln/cln.tex: documented problems with shared library on Sparc

using gcc older than 2.95.3.
master
Richard Kreckel 24 years ago
parent
commit
639fe6aa1d
  1. 11
      doc/cln.tex

11
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 The @code{configure} command checks out some features of your system and
C++ compiler and builds the @code{Makefile}s. The @code{make} command 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 The @code{make check} runs some test to check that no important subroutine
has been miscompiled. 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}, 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{-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 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 CLN as a static (or shared) library only, by calling @code{configure} with

Loading…
Cancel
Save