📄 install-unix
字号:
See the file INSTALL for basic instructions. A short explanation foreach non-standard configure option follows. --disable-typeinfo-name Some output from the library will use a class name to distinguishbetween tests. Normally, the Run-Time Type Information (RTTI) systemis used (specifically, the type_info::name() function) to generate thename. Some compilers return human-readable names via this interface.Other compilers do not.If your compiler does not generate a pleasing class name, specifythis option; the names will be generated by other means. The namesare used only for diagnostic purposes -- no functionality will belost nor gained by using this option. System Notes ------------cygwin------We have a number of reports that the shared library fails tobuild properly. This may manifest itself as a failure tobuild and run the test suite ("make check").The workaround is to build a static library only. Configure using ./configure --disable-sharedThen 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, thebuild reports the following error. Cannot define CppUnit::OStringStreamIf the compiler complains about 'exception', it may help tore-run configure with CPPFLAGS='-U_OSF_SOURCE'on the configure line. Please let us know about your experienceswith 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 thestandard 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 flagfrom being properly passed during the linking stage. To check if youhave this bug, examine the output of "grep 'no.*irix' libtool". Ifyou see a line like "no/*-*-irix*)" then you suffer from the bug. [Afixed 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 toread "with_gcc=no".The MIPSpro version 7.30 is able to compile cppunit proper, but willfail to compile the example testsuite. I am assuming this is dueto known bugs in the compiler (7.30 is not the latest version). The library appears to function OK. Please let us know if you findit otherwise.Solaris/Sun CC compiler-----------------------Use the following configure line:./configure CXX=CC CXXFLAGS="-pta -instances=static -mt -xtarget=generic -g -features=no%transitions -xildoff" LD=CC LDFLAGS=-xildoffIn Forte C++ compiler for Solaris all the linking has to go viaCC and ar, ld should not be run directly. For archive use CC -xar andfor linking and generating the .so use CC -G Notes: CC 5.5 don't need that much flag to compile correctly. Though, I'm notsure what are the required one.AIX---./configure --disable-sharedThe autogen tools don't seem to generate correctly script to handle dynamic linking.If anyone know how to get it working, please contact us.HP-UX-----Use the following options with configure to enable the use of aCC and cc for the compilation of CppUnit: ./configure --enable-hpuxshl CC=cc CXX=aCC CXXFLAGS="-AA"AA sets all the necessary flags to enable namespaces, stl v2,....
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -