<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think the default for the standard python distutils is to use the<br>compiler and the compiler settings for the C compiler that were used to
<br>build Python itself. There might be ways to specify other compilers; but<br>if you have a shared python library build with one compiler and modules<br>build with another you might run into trouble if the two compilers use
<br>different system libraries which are not resolved by standard python<br>build.</blockquote><div><br><br>Well, the Intel compiler uses the same libraries than gcc on Linux, and on Windows, I don't know, but it is possible to mix VS2003 and VS2005, whuch is forbidden by the distutils, so I find this too restricting although understandable.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I believe that numpy is similar in the sense that you can always build<br>additional modules with the compilers that were used to build the numpy
<br>core; then, using two fortran based modules (say) will work well because<br>both require the same shared system libraries of the compiler. Probably,<br>the  compiler options used to build numpy will also work for your
<br>additinal modules (with respect to paths to linear algebra libraries and<br>so on).</blockquote><div><br><br>No, in this case, I want to build with icc and special compiler options. I tried by build by hand - and CMake - the libraries, it works like a charm and it is very very fast compared to gcc :(
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Again, I think there could be ways to build with different compilers, but<br>
you do run the risk of incompatibilities with the shared libraries.<br>Therefore, I have become used to build python with the C-compiler kI'd<br>like to use, even if that means a lot of work.</blockquote><div> </div></div>
<br>This would mean building every other modules added - numpy, scipy, matplotlib, wxPython, ... -, doable, but I'd prefer not to do it, but if it is not possible, I would have to live with it...<br><br>Matthieu<br>