Blame INSTALL-unix

Packit Service e31359
See the file INSTALL for basic instructions.  A short explanation for
Packit Service e31359
each non-standard configure option follows.
Packit Service e31359
Packit Service e31359
		System Notes
Packit Service e31359
		------------
Packit Service e31359
Packit Service e31359
cygwin
Packit Service e31359
------
Packit Service e31359
Packit Service e31359
We have a number of reports that the shared library fails to
Packit Service e31359
build properly.  This may manifest itself as a failure to
Packit Service e31359
build and run the test suite ("make check").
Packit Service e31359
Packit Service e31359
The workaround is to build a static library only.  Configure using
Packit Service e31359
Packit Service e31359
    ./configure --disable-shared
Packit Service e31359
Packit Service e31359
Then build normally.
Packit Service e31359
Packit Service e31359
Packit Service e31359
Packit Service e31359
DEC alpha with cxx V6.1-029 and RogueWave STL
Packit Service e31359
---------------------------------------------
Packit Service e31359
Packit Service e31359
A user reports that you have to issue the command
Packit Service e31359
Packit Service e31359
    export DEC_CXX="-D__USE_STD_IOSTREAM -D__STD_MS"
Packit Service e31359
Packit Service e31359
in order to get ostream defined in namespace std.  Otherwise, the
Packit Service e31359
build reports the following error.
Packit Service e31359
Packit Service e31359
    Cannot define CppUnit::OStringStream
Packit Service e31359
Packit Service e31359
Packit Service e31359
Packit Service e31359
If the compiler complains about 'exception', it may help to
Packit Service e31359
re-run configure with
Packit Service e31359
Packit Service e31359
	CPPFLAGS='-U_OSF_SOURCE'
Packit Service e31359
Packit Service e31359
on the configure line.  Please let us know about your experiences
Packit Service e31359
with this platform so that we can keep this information up-to-date.
Packit Service e31359
Packit Service e31359
Packit Service e31359
Packit Service e31359
IRIX 6 / MIPSpro compiler
Packit Service e31359
-------------------------
Packit Service e31359
Packit Service e31359
The MIPSpro compiler requires the "-LANG:std" flag to enable the standard 
Packit Service e31359
C++ library.  You must set the CC and CXX variable when you configure,
Packit Service e31359
as follows
Packit Service e31359
	./configure CC='CC -LANG:std' CXX='CC -LANG:std'
Packit Service e31359
Packit Service e31359
There is a bug in released versions of libtool prevents the -LANG flag
Packit Service e31359
from being properly passed during the linking stage.  To check if you
Packit Service e31359
have this bug, examine the output of "grep 'no.*irix' libtool".  If
Packit Service e31359
you see a line like "no/*-*-irix*)" then you suffer from the bug.  [A
Packit Service e31359
fixed version of libtool will look like "no/*-*-irix* | /*-*-irix*)".]
Packit Service e31359
Packit Service e31359
If your libtool script suffers from the bug, open it in an editor,
Packit Service e31359
find the first line that contains "with_gcc", and change it to
Packit Service e31359
read "with_gcc=no".
Packit Service e31359
Packit Service e31359
The MIPSpro version 7.30 is able to compile cppunit proper, but will
Packit Service e31359
fail to compile the example testsuite.  I am assuming this is due
Packit Service e31359
to known bugs in the compiler (7.30 is not the latest version). 
Packit Service e31359
The library appears to function OK.  Please let us know if you find
Packit Service e31359
it otherwise.
Packit Service e31359
Packit Service e31359
Packit Service e31359
Solaris/Sun CC compiler
Packit Service e31359
-----------------------
Packit Service e31359
Packit Service e31359
Use the following configure line:
Packit Service e31359
Packit Service e31359
./configure CXX=CC CXXFLAGS="-pta -instances=static -mt 
Packit Service e31359
-xtarget=generic -g -features=no%transitions 
Packit Service e31359
-xildoff" LD=CC LDFLAGS=-xildoff
Packit Service e31359
Packit Service e31359
In Forte C++ compiler for Solaris all the linking has to go via
Packit Service e31359
CC and ar, ld should not be run directly. For archive use CC -xar and
Packit Service e31359
for linking and generating the .so use  CC -G 
Packit Service e31359
Packit Service e31359
Notes: CC 5.5 don't need that much flag to compile correctly. Though, I'm not
Packit Service e31359
sure what are the required one.
Packit Service e31359
Packit Service e31359
Packit Service e31359
AIX
Packit Service e31359
---
Packit Service e31359
Packit Service e31359
./configure --disable-shared
Packit Service e31359
Packit Service e31359
The autogen tools don't seem to generate correctly script to handle dynamic linking.
Packit Service e31359
If anyone know how to get it working, please contact us.
Packit Service e31359
Packit Service e31359
Packit Service e31359
HP-UX
Packit Service e31359
-----
Packit Service e31359
Use the following options with configure to 
Packit Service e31359
enable the use of aCC and cc for the compilation of 
Packit Service e31359
CppUnit: 
Packit Service e31359
./configure --enable-hpuxshl CC=cc CXX=aCC CXXFLAGS="-AA"
Packit Service e31359
Packit Service e31359
AA sets all the necessary flags to enable namespaces, 
Packit Service e31359
stl v2,.... 
Packit Service e31359