File: INSTALL-unix

package info (click to toggle)
cppunit 1.8.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,664 kB
  • ctags: 1,779
  • sloc: cpp: 10,756; sh: 7,005; makefile: 362; ansic: 266
file content (85 lines) | stat: -rw-r--r-- 2,633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
See the file INSTALL for basic instructions.  A short explanation for
each non-standard configure option follows.

  --disable-typeinfo-name 

Some output from the library will use a class name to distinguish
between tests.  Normally, the Run-Time Type Information (RTTI) system
is used (specifically, the type_info::name() function) to generate the
name.  Some compilers return human-readable names via this interface.
Other compilers do not.

If your compiler does not generate a pleasing class name, specify
this option; the names will be generated by other means.  The names
are used only for diagnostic purposes -- no functionality will be
lost nor gained by using this option.



		System Notes
		------------

cygwin
------

We have a number of reports that the shared library fails to
build properly.  This may manifest itself as a failure to
build and run the test suite ("make check").

The workaround is to build a static library only.  Configure using

    ./configure --disable-shared

Then build normally.



DEC alpha with cxx V6.1-029 and RogueWave STL
---------------------------------------------

A user reports that you have to issue the command

    export DEC_CXX="-D__USE_STD_IOSTREAM -D__STD_MS"

in order to get ostream defined in namespace std.  Otherwise, the
build reports the following error.

    Cannot define CppUnit::OStringStream



If the compiler complains about 'exception', it may help to
re-run configure with

	CPPFLAGS='-U_OSF_SOURCE'

on the configure line.  Please let us know about your experiences
with this platform so that we can keep this information up-to-date.



IRIX 6 / MIPSpro compiler
-------------------------

The MIPSpro compiler requires the "-LANG:std" flag to enable the
standard C++ library.  You must set the CC variable when you configure,
as follows
	./configure CC='CC -LANG:std'

There is a bug in released versions of libtool prevents the -LANG flag
from being properly passed during the linking stage.  To check if you
have this bug, examine the output of "grep 'no.*irix' libtool".  If
you see a line like "no/*-*-irix*)" then you suffer from the bug.  [A
fixed version of libtool will look like "no/*-*-irix* | /*-*-irix*)".]

If your libtool script suffers from the bug, open it in an editor,
find the first line that contains "with_gcc", and change it to
read "with_gcc=no".

The MIPSpro version 7.30 is able to compile cppunit proper, but will
fail to compile the example testsuite.  I am assuming this is due
to known bugs in the compiler (7.30 is not the latest version). 
The library appears to function OK.  Please let us know if you find
it otherwise.