compiler.cfg 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. // Boost compiler configuration file
  2. //
  3. // The first command template is for compile only tests
  4. // The second command template is for compile and link (and possibly run) tests
  5. //
  6. // Change log:
  7. // 24 Mar 2001 - Upgraded Linux to gcc 2.95.3, como 4.2.45.2 (Jens Maurer).
  8. // 20 Jan 2001 - Turned on STLPort debug mode and turned off incremental linking
  9. // for vc6 builds. Added cygwin build. Waiting for a fix for
  10. // cygwin/stlport to add that (David Abrahams).
  11. aix
  12. xlC
  13. Visual Age v5.0
  14. xlC -c -qrtti -I%include %source
  15. xlC -o boosttmp.exe -qrtti -I%include %source
  16. Visual Age<br> v5.0
  17. linux
  18. gcc-295
  19. GCC 2.95.3
  20. g++-2.95 -c -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  21. g++-2.95 -o boosttmp.exe -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source -lrt
  22. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.3
  23. linux
  24. gcc-295-stlport
  25. GCC 2.95.3 STLport 4.5
  26. g++-2.95 -V 2.95.3-stlport -c -Wall -W -ftemplate-depth-30 -I%include %source
  27. g++-2.95 -V 2.95.3-stlport -o boosttmp.exe -Wall -W -ftemplate-depth-30 -I%include %source -lrt
  28. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.3<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  29. linux
  30. gcc
  31. GCC 3.0.3
  32. g++ -V 3.0.3 -c -Wall -W -I%include %source
  33. g++ -V 3.0.3 -o boosttmp.exe -Wall -W -I%include %source -lrt
  34. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.3
  35. linux
  36. como
  37. Comeau C++ 4.2.45 beta2 libcomo beta15
  38. como-4.2.45-libcomo -c -I%include %source -lrt
  39. rm -f *.ii *.ti; como-4.2.45-libcomo -tnone -o boosttmp.exe -I%include %source -lm -lrt
  40. <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta2<br>libcomo<br>beta15
  41. linux
  42. como-strict
  43. Comeau C++ 4.2.45 beta2 (strict mode) libcomo beta15
  44. como-4.2.45-libcomo --strict_warnings -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -c -I%include %source
  45. rm -f *.ii *.ti; como-4.2.45-libcomo -tnone --strict_warnings -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -o boosttmp.exe -I%include %source -lm -lrt
  46. <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta2<br>(strict mode)<br>libcomo<br>beta15
  47. linux
  48. como-stlport
  49. Comeau C++ 4.2.45 beta2 STLport 4.5
  50. como-4.2.45-stlport -c -I%include %source
  51. rm -f *.ii *.ti; como-4.2.45-stlport -tused -o boosttmp.exe -I%include %source -lrt
  52. <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta2<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  53. linux
  54. como-strict-stlport
  55. Comeau C++ 4.2.45 beta2 (strict mode) STLport 4.5
  56. como-4.2.45-stlport --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -c -I%include %source
  57. rm -f *.ii *.ti; como-4.2.45-stlport -tused --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -D_POSIX_C_SOURCE=199309L -o boosttmp.exe -I%include %source -lrt
  58. <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta2<br>(strict mode)<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  59. linux
  60. kcc
  61. KCC 4.0e
  62. KCC --diag_suppress 450 -D_ISOC99_SOURCE -c -I%include %source
  63. rm -rf ti_files; KCC -D_ISOC99_SOURCE -o boosttmp.exe -I%include %source -lm -lrt
  64. <a href="http://www.kai.com/C_plus_plus/index.html">KAI<br>KCC</a><br>4.0e
  65. linux
  66. kcc-strict
  67. KCC 4.0e (strict mode)
  68. KCC --linux_strict --diag_suppress 450 -D_ISOC99_SOURCE -c -I%include %source
  69. rm -rf ti_files; KCC --linux_strict --diag_suppress 450 -D_ISOC99_SOURCE -o boosttmp.exe -I%include %source -lm -lrt
  70. <a href="http://www.kai.com/C_plus_plus/index.html">KAI<br>KCC</a><br>4.0e<br>(strict mode)
  71. linux
  72. icc
  73. Intel C++ 5.0.1 Build 010730D0
  74. icc -Kc++eh -we70 -tpp6 -xi -mp -D_ISOC99_SOURCE -c -I%include %source
  75. icc -Kc++eh -we70 -tpp6 -xi -mp -D_ISOC99_SOURCE -o boosttmp.exe -I%include %source -lrt
  76. <a href="http://developer.intel.com/software/products/compilers/c50/linux/">Intel C++</a><br>5.0.1<br>Build 010730D0
  77. // The funny explicit preprocessing stuff is required, otherwise there are lots
  78. // of segfaults from the compiler. (Jens Maurer)
  79. linux
  80. icc-strict
  81. Intel C++ 5.0.1 Build 010730D0 (strict mode)
  82. icc -E -Xc -Kc++eh -we70 -tpp6 -xi -mp -D_ISOC99_SOURCE -I%include %source > boosttmp.preproc.cc && icc -Xc -Kc++eh -we70 -tpp6 -xi -mp -c boosttmp.preproc.cc
  83. icc -E -Xc -Kc++eh -we70 -tpp6 -xi -mp -D_ISOC99_SOURCE -I%include %source > boosttmp.preproc.cc && icc -Xc -Kc++eh -we70 -tpp6 -xi -mp -o boosttmp.exe boosttmp.preproc.cc -lrt
  84. <a href="http://developer.intel.com/software/products/compilers/c50/linux/">Intel C++</a><br>5.0.1<br>Build 010730D0<br>(strict mode)
  85. hpux
  86. gcc-295
  87. GCC 2.95.3
  88. g++-2.95 -c -Wall -W -ftemplate-depth-30 -I%include %source
  89. g++-2.95 -o boosttmp.exe -Wall -W -ftemplate-depth-30 -I%include %source -ldce
  90. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.3
  91. hpux
  92. gcc
  93. GCC 3.0.1
  94. g++ -c -Wall -W -I%include %source
  95. g++ -o boosttmp.exe -Wall -W -I%include %source -ldce
  96. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.1
  97. //aCC warnings that were turned off
  98. //302 - The (...) parameter list is a non-portable feature.
  99. //392 - Conversion unnecessary; expression was already of type 'xxx'.
  100. //431 - No uses of 'xxx' detected; it may be possible to remove its declaration
  101. //469 - This typedef keyword is useless because it does not declare any new
  102. // type names.
  103. //555 - Access type should be specified in base class list; default is private
  104. //655 - class xxx does not have any non-inline, non-pure virtual member
  105. // functions. Please define at least one non-inline, non-pure virtual
  106. // member function, so that the compiler knows where to emit the virtual
  107. // function table. Otherwise multiple copies of the virtual function
  108. // table may be emitted.
  109. //684 - Integer constant -1 = 0xFFFFFFFFFFFFFFFF is out of range for type
  110. // unsigned int
  111. //818 - Type 'xxx' is larger than type 'yyy', truncation in value may result.
  112. //819 - unwarranted warning about assigning e.g. char = const char&
  113. //933 - Null macro argument #1 for macro xxx (mostly in config_test.cpp)
  114. hpux
  115. aCC
  116. HP ANSI C++ B3910B A.03.33
  117. aCC -AA -g0 +d +p +w +W302,392,431,469,555,655,684,818,819 -c -I%include %source
  118. aCC -AA -g0 +d +p +w +W302,392,431,469,555,655,684,818,819 -o boosttmp.exe -I%include %source
  119. HP<br><a href="http://www.hp.com/go/c++">aCC</a><br>A.03.33
  120. hpux
  121. aCC-stlport
  122. HP ANSI C++ B3910B A.03.33, STLport 4.5
  123. aCC -AA -g0 +d +p +w +W302,392,431,469,555,655,684,818,819 -c -I$HOME/software-hpux/include/stlport -I%include %source
  124. aCC -AA -g0 +d +p +w +W302,392,431,469,555,655,684,818,819 -o boosttmp.exe -I$HOME/software-hpux/include/stlport -I%include %source -L$HOME/software-hpux/lib -lstlport_aCC -lpthread
  125. HP<br><a href="http://www.hp.com/go/c++">aCC</a><br>A.03.33<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  126. solaris
  127. suncc
  128. Sun WorkShop 6 update 2 C++ 5.3 2001/05/15
  129. CC -c -I%include %source
  130. rm -rf SunWS_cache && CC -o boosttmp.exe -I%include %source -lrt
  131. Sun<br><a href="http://www.sun.com/forte/cplusplus/index.html">WorkShop</a> 6.u2<br>C++ 5.3
  132. solaris
  133. suncc64
  134. Sun WorkShop 6 update 2 C++ 5.3 2001/05/15 64 bit
  135. CC -c -xarch=v9 -I%include %source
  136. rm -rf SunWS_cache boosttmp.exe && CC -o boosttmp.exe -xarch=v9 -I%include %source -lrt
  137. Sun<br><a href="http://www.sun.com/forte/cplusplus/index.html">WorkShop</a> 6.u2<br>C++ 5.3<br>64 bit
  138. solaris
  139. suncc-stlport
  140. Sun WorkShop 6 update 2 C++ 5.3 2001/05/15 with STLport 4.5
  141. CC -c -I%include -I$HOME/software-solaris/include/stlport-4.5 %source
  142. rm -rf SunWS_cache && CC -o boosttmp.exe -I%include -I$HOME/software-solaris/include/stlport-4.5 %source $HOME/software-solaris/lib/libstlport_sunpro.so.4.5 -R$HOME/software-solaris/lib -lrt
  143. Sun<br><a href="http://www.sun.com/forte/cplusplus/index.html">WorkShop</a> 6.u2<br>C++ 5.3<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  144. solaris
  145. kcc
  146. KCC 4.0d
  147. KCC -c --strict_warnings --diag_suppress 450 -I%include %source
  148. KCC -o boosttmp.exe --strict_warnings -I%include %source -lm -lrt
  149. KAI<br><a href="http://www.kai.com/C_plus_plus/index.html">KCC</a><br>4.0d
  150. solaris
  151. gcc-295
  152. GCC 2.95.2
  153. g++-2.95 -c -ansi -Wall -ftemplate-depth-30 -Wno-long-long -I%include %source
  154. g++-2.95 -o boosttmp.exe -ansi -Wall -ftemplate-depth-30 -Wno-long-long -I%include %source -lrt
  155. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.2
  156. solaris
  157. gcc
  158. GCC 3.0.1
  159. g++ -c -ansi -Wall -W -Wno-long-long -I%include %source
  160. g++ -o boosttmp.exe -ansi -Wall -W -Wno-long-long -I%include %source -lrt
  161. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.1
  162. tru64
  163. cxx
  164. Compaq C++ 6.3
  165. cxx -c -std strict_ansi -D__USE_STD_IOSTREAM -D_POSIX_C_SOURCE=199309L -I%include %source
  166. cxx -o boosttmp.exe -std strict_ansi -D__USE_STD_IOSTREAM -D_POSIX_C_SOURCE=199309L -I%include %source -lm -lrt
  167. <a href="http://www.compaq.com/products/software/compilers/candcxx.html">Compaq C++</a><br>6.3-012
  168. // MIPSpro warnings that were turned off
  169. // 1234 Access control is not specified ("private" by default)
  170. irix
  171. irixcc
  172. SGI MIPSpro CC 7.3.1.2
  173. CC -c -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I%include %source
  174. CC -G0 -o boosttmp.exe -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I%include %source -lm
  175. SGI <a href="http://www.sgi.com/developers/devtools/languages/mipspro.html">MIPSpro</a> CC<br>7.3.1.2m
  176. irix
  177. irixcc-clib
  178. SGI MIPSpro CC 7.3.1.2 with <cXXX> headers
  179. CC -c -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I../boost/compatibility/cpp_c_headers -I%include %source
  180. CC -G0 -o boosttmp.exe -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I../boost/compatibility/cpp_c_headers -I%include %source -lm
  181. SGI <a href="http://www.sgi.com/developers/devtools/languages/mipspro.html">MIPSpro</a> CC<br>7.3.1.2m<br>clib
  182. irix
  183. irixcc-stlport
  184. SGI MIPSpro CC 7.3.1.2 with STLport 4.5
  185. CC -c -LANG:std -OPT:IEEE_NaN_inf=ON -I$HOME/software-irix/include/stlport-4.5 -I%include %source
  186. CC -G0 -o boosttmp.exe -LANG:std -OPT:IEEE_NaN_inf=ON -ptused -I$HOME/software-irix/include/stlport-4.5 -I%include %source -rpath $HOME/software-irix/lib $HOME/software-irix/lib/libstlport_mipspro.so.4.5 -lm
  187. SGI <a href="http://www.sgi.com/developers/devtools/languages/mipspro.html">MIPSpro</a> CC<br>7.3.1.2m<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  188. irix
  189. gcc-295
  190. GNU GCC 2.95.3
  191. g++-2.95 -c -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  192. g++-2.95 -o boosttmp.exe -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  193. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.3
  194. irix
  195. gcc
  196. GNU GCC 3.0.1
  197. g++ -c -Wall -W -I%include %source
  198. g++ -o boosttmp.exe -Wall -W -I%include %source
  199. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.1
  200. // BeOS tests updated to use gcc 2.95.3 - see www.bebits.com
  201. // This compiler version is not officially supported by Be.
  202. beos
  203. gcc
  204. GNU GCC
  205. c++ -c -ftemplate-depth-30 -Wall -I%include %source
  206. c++ -o boosttmp.exe -ftemplate-depth-30 -Wall -I%include %source
  207. <A href="http://www.bebits.com">GNUPro GCC 2.95.3</A>
  208. beos
  209. gcc-stlport
  210. GNU GCC + STLPort 4.5
  211. c++ -c -ftemplate-depth-30 -Wall -I/boot/home/config/include/stlport -I%include %source
  212. c++ -o boosttmp.exe -ftemplate-depth-30 -D_STLP_DEBUG -Wall -I/boot/home/config/include/stlport -I%include %source -L/boot/home/config/lib -lstlport_gcc_stldebug
  213. <A href="http://www.bebits.com">GNUPro GCC 2.95.3</A><br>+<br><A href="http://www.stlport.org">STLPort 4.5</A>
  214. win32
  215. bcc
  216. Borland C++ 5.5.1
  217. bcc32 -c -tWM -I%include -j10 -q %source
  218. bcc32 -eboosttmp.exe -tWM -I%include -j10 -q %source
  219. Borland<br><a href="http://www.borland.com/bcppbuilder/freecompiler/">BCC</a><br>5.5.1
  220. win32
  221. como
  222. Comeau C++ 4.2.45 beta 2 libcomo beta 14
  223. como -c -e5 --wchar_t --no_microsoft_bugs -D_WCHAR_T_DEFINED -I%include %source
  224. como -e5 -tnone --wchar_t --no_microsoft_bugs -D_WCHAR_T_DEFINED -o boosttmp -I%include %source $COMO_BASE\comolib\libcomo.lib
  225. <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta 2<br>libcomo<br>beta 14
  226. win32
  227. cygwin
  228. GCC under cygwin
  229. g++ -c -ftemplate-depth-40 -I%include %source
  230. g++ -o boosttmp.exe -ftemplate-depth-40 -I%include %source
  231. GNU <a href="http://gcc.gnu.org/">GCC</a><br>2.95.3-5<br><a href="http://sources.redhat.com/cygwin/">Cygwin</a>
  232. //win32
  233. //gcc-stlport-debug
  234. //GCC under cygwin with STLport 4.0
  235. //g++ -c -ftemplate-depth-40 -I%include -D __STL_DEBUG -I "$BOOST_STLPORT_PATH/stlport" %source
  236. //g++ -o boosttmp.exe -ftemplate-depth-40 "$BOOST_STLPORT_PATH/lib/" -I%include %source
  237. //GNU<br>GCC<br>2.95.2-6<br>STLport<br>4.0
  238. win32
  239. icl
  240. Intel C++ 5.0
  241. // the max number of errors (/Qwn) has been reduced to 2 to mitigate
  242. // the impact of multi-megabyte error messages
  243. icl /c /nologo /Qwn2 /Qwe70 /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" -D BOOST_INCLUDE_MAIN %source
  244. icl /Feboosttmp.exe /nologo /Qwn2 /Qwe70 /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link user32.lib
  245. Intel<br><a href="http://developer.intel.com/software/products/compilers/">Intel C++</a><br>5.0<br>MS lib<br>6.0 SP5
  246. win32
  247. cw
  248. Metrowerks CodeWarrior
  249. // 23 Apr 01 Removed -nocodegen from compile only command line as it had
  250. // the uninteded side effect of turning off some error detection
  251. mwcc -c -maxerrors 10 -cwd source -I- -I%include %source
  252. mwcc -o boosttmp.exe -maxerrors 10 -cwd source -I- -I%include %source
  253. Metrowerks<br><a href="http://www.metrowerks.com/products/windows/">CodeWarrior</a><br>7.1
  254. win32
  255. vc
  256. Microsoft Visual C++
  257. cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source
  258. cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link /incremental:no user32.lib
  259. Microsoft<br><a href="http://msdn.microsoft.com/vstudio/default.asp">VC++</a><br>6.0 SP5
  260. win32
  261. vc-stlport
  262. Microsoft Visual C++ with STLport
  263. cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/include/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source
  264. cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/include/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link /incremental:no user32.lib
  265. Microsoft<br><a href="http://msdn.microsoft.com/vstudio/default.asp">VC++</a><br>6.0 SP5<br><a href="http://www.stlport.org/">STLport</a><br>4.5.1
  266. macosx
  267. cw-cfm
  268. Metrowerks CodeWarrior 7.0 (CFM)
  269. mpw mwcppc -r -w on,noimplicit,nonotinlined -msgstyle std -maxerrors 10 -convertpaths -cwd include -i- -i %include %source -o boosttmp.o
  270. mpw mwcppc -r -w on,noimplicit,nonotinlined -msgstyle std -maxerrors 10 -convertpaths -cwd include -i- -i %include %source -o boosttmp.o && mpw mwlinkppc boosttmp.o MSL_MPWCRuntime_PPC.Lib MSL_C_PPC_MPW.Lib MSL_C++_PPC.Lib InterfaceLib MathLib -t MPST -o boosttmp.cfm && echo mpw boosttmp.cfm '"$@"' > boosttmp.exe && chmod +x boosttmp.exe
  271. Metrowerks<br><a href="http://www.metrowerks.com/products/macos/">CodeWarrior</a><br>7.0<br>(CFM)
  272. macosx
  273. cw-macho
  274. Metrowerks CodeWarrior 7.0 (Mach-O)
  275. mwccppc -r -w on,noimplicit,nonotinlined,nocomma -maxerrors 10 -cwd include -i- -i %include %source -c
  276. mwccppc -r -w on,noimplicit,nonotinlined,nocomma -maxerrors 10 -cwd include -i- -i %include %source -o boosttmp.exe
  277. Metrowerks<br><a href="http://www.metrowerks.com/products/macos/">CodeWarrior</a><br>7.0<br>(Mach-O)
  278. macosx
  279. cc
  280. GCC 2.95.2 (Apple version)
  281. c++ -ansi -Wall -W -Wno-long-long -Wno-long-double -ftemplate-depth-30 -I%include %source -c
  282. c++ -ansi -Wall -W -Wno-long-long -Wno-long-double -ftemplate-depth-30 -I%include %source -o boosttmp.exe
  283. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.2<br>(Apple version)
  284. // end of file
粤ICP备19079148号