compiler.cfg 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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.3 -c -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  21. g++-2.95.3 -o boosttmp.exe -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  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.3 -c -V 2.95.3-stlport -Wall -W -ftemplate-depth-30 -I%include %source
  27. g++-2.95.3 -o boosttmp.exe -V 2.95.3-stlport -Wall -W -ftemplate-depth-30 -I%include %source
  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.1
  32. g++ -c -Wall -W -I%include %source
  33. g++ -o boosttmp.exe -Wall -W -I%include %source
  34. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.1
  35. linux
  36. como
  37. Comeau C++ 4.2.45 beta2 libcomo beta15
  38. como-4.2.45-libcomo -c -I%include %source
  39. rm -f *.ii *.ti; como-4.2.45-libcomo -tnone -o boosttmp.exe -I%include %source -lm
  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__ -c -I%include %source
  45. rm -f *.ii *.ti; como-4.2.45-libcomo -tnone --strict_warnings -D__STRICT_ANSI__ -o boosttmp.exe -I%include %source -lm
  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 -o boosttmp.exe -I%include %source
  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__ -c -I%include %source
  57. rm -f *.ii *.ti; como-4.2.45-stlport --strict_warnings --diag_suppress 450 -D__STRICT_ANSI__ -o boosttmp.exe -I%include %source
  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 -D_ISOC99_SOURCE -c -I%include %source
  63. rm -rf ti_files; KCC -D_ISOC99_SOURCE -o boosttmp.exe -I%include %source -lm
  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
  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
  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
  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. hpux
  114. aCC
  115. HP ANSI C++ B3910B A.03.31
  116. aCC -AA -g0 +d +w +W302,392,431,469,555,655,684,818,819 -c -I%include %source
  117. aCC -AA -g0 +d +w +W302,392,431,469,555,655,684,818,819 -o boosttmp.exe -I%include %source
  118. HP<br><a href="http://www.hp.com/go/c++">aCC</a><br>A.03.31
  119. hpux
  120. aCC-stlport
  121. HP ANSI C++ B3910B A.03.31, STLport 4.5
  122. aCC -AA -g0 +d +w +W302,392,431,469,555,655,684,818,819 -c -I$HOME/software-hpux/include/stlport -I%include %source
  123. aCC -AA -g0 +d +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
  124. HP<br><a href="http://www.hp.com/go/c++">aCC</a><br>A.03.31<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  125. solaris
  126. suncc
  127. Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
  128. CC -c -I%include %source
  129. rm -rf SunWS_cache && CC -o boosttmp.exe -I%include %source
  130. Sun<br><a href="http://www.sun.com/forte/cplusplus/index.html">WorkShop</a> 6.u1<br>C++ 5.2
  131. solaris
  132. suncc64
  133. Sun WorkShop 6 update 1 C++ 5.2 2000/09/11 64 bit
  134. CC -c -xarch=v9 -I%include %source
  135. rm -rf SunWS_cache boosttmp.exe && CC -o boosttmp.exe -xarch=v9 -I%include %source
  136. Sun<br><a href="http://www.sun.com/forte/cplusplus/index.html">WorkShop</a> 6.u1<br>C++ 5.2<br>64 bit
  137. solaris
  138. suncc-stlport
  139. Sun WorkShop 6 update 1 C++ 5.2 2000/09/11 with STLport 4.5
  140. CC -c -I%include -I$HOME/software-solaris/include/stlport-4.5 %source
  141. 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
  142. Sun<br><a href="http://www.sun.com/forte/cplusplus/index.html">WorkShop</a> 6.u1<br>C++ 5.2<br><a href="http://www.stlport.org/">STLport</a><br>4.5
  143. solaris
  144. kcc
  145. KCC 4.0a
  146. /afs/nd.edu/sun4x_57/usr/local/src/kai/kai40a2/KCC_BASE/bin/KCC -c --strict_warnings -I%include %source
  147. /afs/nd.edu/sun4x_57/usr/local/src/kai/kai40a2/KCC_BASE/bin/KCC -o boosttmp.exe --strict_warnings -I%include %source -lm
  148. KAI<br><a href="http://www.kai.com/C_plus_plus/index.html">KCC</a><br>4.0a
  149. solaris
  150. kcc3
  151. KCC 3.4g
  152. KCC -c --strict_warnings -I%include %source
  153. KCC -o boosttmp.exe --strict_warnings -I%include %source -lm
  154. KAI<br><a href="http://www.kai.com/C_plus_plus/index.html">KCC</a><br>3.4g
  155. solaris
  156. gcc-295
  157. GCC 2.95.2
  158. g++-2.95 -c -ansi -Wall -ftemplate-depth-30 -Wno-long-long -I%include %source
  159. g++-2.95 -o boosttmp.exe -ansi -Wall -ftemplate-depth-30 -Wno-long-long -I%include %source
  160. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.2
  161. solaris
  162. gcc
  163. GCC 3.0.1
  164. g++ -c -ansi -Wall -W -Wno-long-long -I%include %source
  165. g++ -o boosttmp.exe -ansi -Wall -W -Wno-long-long -I%include %source
  166. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.1
  167. tru64
  168. cxx
  169. Compaq C++ 6.3
  170. cxx -c -std strict_ansi -D__USE_STD_IOSTREAM -pthread -I%include %source
  171. cxx -o boosttmp.exe -std strict_ansi -D__USE_STD_IOSTREAM -pthread -I%include %source -lm
  172. <a href="http://www.compaq.com/products/software/compilers/candcxx.html">Compaq C++</a><br>6.3-012
  173. // MIPSpro warnings that were turned off
  174. // 1234 Access control is not specified ("private" by default)
  175. irix
  176. irixcc
  177. SGI MIPSpro CC 7.3.1.2
  178. CC -c -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I%include %source
  179. CC -G0 -o boosttmp.exe -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I%include %source -lm
  180. SGI <a href="http://www.sgi.com/developers/devtools/languages/mipspro.html">MIPSpro</a> CC<br>7.3.1.2m
  181. irix
  182. irixcc-clib
  183. SGI MIPSpro CC 7.3.1.2 with <cXXX> headers
  184. CC -c -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I../boost/compatibility/cpp_c_headers -I%include %source
  185. CC -G0 -o boosttmp.exe -LANG:std -OPT:IEEE_NaN_inf=ON -woff 1234 -I../boost/compatibility/cpp_c_headers -I%include %source -lm
  186. SGI <a href="http://www.sgi.com/developers/devtools/languages/mipspro.html">MIPSpro</a> CC<br>7.3.1.2m<br>clib
  187. irix
  188. irixcc-stlport
  189. SGI MIPSpro CC 7.3.1.2 with STLport 4.5
  190. CC -c -LANG:std -OPT:IEEE_NaN_inf=ON -I$HOME/software-irix/include/stlport-4.5 -I%include %source
  191. 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
  192. 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
  193. irix
  194. gcc-295
  195. GNU GCC 2.95.3
  196. g++-2.95 -c -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  197. g++-2.95 -o boosttmp.exe -V 2.95.3 -Wall -W -ftemplate-depth-30 -I%include %source
  198. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.3
  199. irix
  200. gcc
  201. GNU GCC 3.0.1
  202. g++ -c -Wall -W -I%include %source
  203. g++ -o boosttmp.exe -Wall -W -I%include %source
  204. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>3.0.1
  205. // BeOS tests updated to use gcc 2.95.3 - see www.bebits.com
  206. // This compiler version is not officially supported by Be.
  207. beos
  208. gcc
  209. GNU GCC
  210. c++ -c -ftemplate-depth-30 -Wall -I%include %source
  211. c++ -o boosttmp.exe -ftemplate-depth-30 -Wall -I%include %source
  212. <A href="http://www.bebits.com">GNUPro GCC 2.95.3</A>
  213. beos
  214. gcc-stlport
  215. GNU GCC + STLPort 4.5
  216. c++ -c -ftemplate-depth-30 -Wall -I/boot/home/config/include/stlport -I%include %source
  217. 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
  218. <A href="http://www.bebits.com">GNUPro GCC 2.95.3</A><br>+<br><A href="http://www.stlport.org">STLPort 4.5</A>
  219. win32
  220. bcc
  221. Borland C++ 5.5.1
  222. bcc32 -c -tWM -I%include -j10 -q %source
  223. bcc32 -eboosttmp.exe -tWM -I%include -j10 -q %source
  224. Borland<br><a href="http://www.borland.com/bcppbuilder/freecompiler/">BCC</a><br>5.5.1
  225. win32
  226. como
  227. Comeau C++ 4.2.45 beta 2 libcomo beta 14
  228. como -c -e10 --wchar_t --no_microsoft_bugs -D_WCHAR_T_DEFINED -I%include %source
  229. como -e10 -tnone --wchar_t --no_microsoft_bugs -D_WCHAR_T_DEFINED -o boosttmp -I%include %source $COMO_BASE\comolib\libcomo.lib
  230. <a href="http://www.comeaucomputing.com/">Comeau C++</a><br>4.2.45 beta 2<br>libcomo<br>beta 14
  231. win32
  232. cygwin
  233. GCC under cygwin
  234. g++ -c -ftemplate-depth-40 -I%include %source
  235. g++ -o boosttmp.exe -ftemplate-depth-40 -I%include %source
  236. GNU <a href="http://gcc.gnu.org/">GCC</a><br>2.95.2-6<br><a href="http://sources.redhat.com/cygwin/">Cygwin</a> 1.1.7
  237. //win32
  238. //gcc-stlport-debug
  239. //GCC under cygwin with STLport 4.0
  240. //g++ -c -ftemplate-depth-40 -I%include -D __STL_DEBUG -I "$BOOST_STLPORT_PATH/stlport" %source
  241. //g++ -o boosttmp.exe -ftemplate-depth-40 "$BOOST_STLPORT_PATH/lib/" -I%include %source
  242. //GNU<br>GCC<br>2.95.2-6<br>STLport<br>4.0
  243. win32
  244. icl
  245. Intel C++ 5.0
  246. icl /c /nologo /Qwn5 /Qwe70 /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" -D BOOST_INCLUDE_MAIN %source
  247. icl /Feboosttmp.exe /nologo /Qwn5 /Qwe70 /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link user32.lib
  248. Intel<br><a href="http://developer.intel.com/software/products/compilers/">Intel C++</a><br>5.0<br>MS lib<br>6.0 SP5
  249. win32
  250. cw
  251. Metrowerks CodeWarrior
  252. // 23 Apr 01 Removed -nocodegen from compile only command line as it had
  253. // the uninteded side effect of turning off some error detection
  254. mwcc -c -maxerrors 10 -cwd source -I- -I%include %source
  255. mwcc -o boosttmp.exe -maxerrors 10 -cwd source -I- -I%include %source
  256. Metrowerks<br><a href="http://www.metrowerks.com/products/windows/">CodeWarrior</a><br>6.1
  257. win32
  258. vc
  259. Microsoft Visual C++
  260. cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I"%include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source
  261. 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
  262. Microsoft<br><a href="http://msdn.microsoft.com/vstudio/default.asp">VC++</a><br>6.0 SP5
  263. win32
  264. vc-stlport
  265. Microsoft Visual C++ with STLport
  266. cl /c /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source
  267. cl /Feboosttmp.exe /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I "$BOOST_STLPORT_PATH/stlport" /I"%include" /D "__STL_DEBUG" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_CONSOLE" %source /link /incremental:no /libpath:$BOOST_STLPORT_PATH\lib user32.lib
  268. 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.0
  269. macosx
  270. cw-cfm
  271. Metrowerks CodeWarrior 7.0 (CFM)
  272. mpw mwcppc -r -w on,noimplicit,nonotinlined -msgstyle std -maxerrors 10 -convertpaths -cwd include -i- -i %include %source -o boosttmp.o
  273. 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
  274. Metrowerks<br><a href="http://www.metrowerks.com/products/macos/">CodeWarrior</a><br>7.0<br>(CFM)
  275. macosx
  276. cw-macho
  277. Metrowerks CodeWarrior 7.0 (Mach-O)
  278. mwccppc -r -w on,noimplicit,nonotinlined,nocomma -maxerrors 10 -cwd include -i- -i %include %source -c
  279. mwccppc -r -w on,noimplicit,nonotinlined,nocomma -maxerrors 10 -cwd include -i- -i %include %source -o boosttmp.exe
  280. Metrowerks<br><a href="http://www.metrowerks.com/products/macos/">CodeWarrior</a><br>7.0<br>(Mach-O)
  281. macosx
  282. cc
  283. GCC 2.95.2 (Apple version)
  284. c++ -ansi -Wall -W -Wno-long-long -Wno-long-double -ftemplate-depth-30 -I%include %source -c
  285. c++ -ansi -Wall -W -Wno-long-long -Wno-long-double -ftemplate-depth-30 -I%include %source -o boosttmp.exe
  286. GNU<br><a href="http://gcc.gnu.org/">GCC</a><br>2.95.2<br>(Apple version)
  287. // end of file
粤ICP备19079148号