Selaa lähdekoodia

icc-linux: preprocess first, then compile (avoids internal segmentation faults)

[SVN r11180]
Jens Maurer 25 vuotta sitten
vanhempi
sitoutus
5ec5db6424
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      status/compiler.cfg

+ 4 - 2
status/compiler.cfg

@@ -86,11 +86,13 @@ icc -Kc++eh -we70 -tpp6 -xi -mp -c -I%include %source
 icc -Kc++eh -we70 -tpp6 -xi -mp -o boosttmp.exe -I%include %source
 <a href="http://developer.intel.com/software/products/compilers/c50/linux/">Intel C++</a><br>5.0.1<br>Build 010730D0
 
+// The funny explicit preprocessing stuff is required, otherwise there are lots
+// of segfaults from the compiler.  (Jens Maurer)
 linux
 icc-strict
 Intel C++ 5.0.1 Build 010730D0 (strict mode)
-icc -Xc -Kc++eh -we70 -tpp6 -xi -mp -c -I%include %source
-icc -Xc -Kc++eh -we70 -tpp6 -xi -mp -o boosttmp.exe -I%include %source
+icc -E -Xc -Kc++eh -we70 -tpp6 -xi -mp -I%include %source > boosttmp.preproc.cc; icc -Xc -Kc++eh -we70 -tpp6 -xi -mp -c boosttmp.preproc.cc
+icc -E -Xc -Kc++eh -we70 -tpp6 -xi -mp -I%include %source > boosttmp.preproc.cc; icc -Xc -Kc++eh -we70 -tpp6 -xi -mp -o boosttmp.exe boosttmp.preproc.cc
 <a href="http://developer.intel.com/software/products/compilers/c50/linux/">Intel C++</a><br>5.0.1<br>Build 010730D0<br>(strict mode)
 
 hpux

粤ICP备19079148号