[Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread Matthieu Brucher
Hi, I've been trying to use the Intel C Compiler for some extensions, and as a matter of fact, only numpy.distutils seems to support it... (hope that the next version of setuptools will...) Is it possible to change the compiler command line options in the commandline or in a .cfg file ? For the m

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread Christian Marquardt
Hi, I think the default for the standard python distutils is to use the compiler and the compiler settings for the C compiler that were used to build Python itself. There might be ways to specify other compilers; but if you have a shared python library build with one compiler and modules build wit

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread Matthieu Brucher
I think the default for the standard python distutils is to use the compiler and the compiler settings for the C compiler that were used to build Python itself. There might be ways to specify other compilers; but if you have a shared python library build with one compiler and modules build with a

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread David Cournapeau
Matthieu Brucher wrote: > > I think the default for the standard python distutils is to use the > compiler and the compiler settings for the C compiler that were > used to > build Python itself. There might be ways to specify other > compilers; but > if you have a shared pyt

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-14 Thread Matthieu Brucher
It is possible to mix object code, but not runtime, which is the problem AFAIK. VS2003 and VS2005 have different C runtimes (msvcrt7.1.dll against msvcrt8.dll). The problem is (at least for me, who just go through the pain for windows users :) ) that VS2003 is not available anymore for free...

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-15 Thread Christian Marquardt
On Fri, June 15, 2007 06:01, David Cournapeau wrote: > I think it is important to separate different issues: object code > compatibility, runtime compatibility, etc... Those are different issues. > First, mixing ICC compiled code and gcc code *has* to be possible (I > have never tried), otherwise,

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-15 Thread Christopher Barker
David Cournapeau wrote: > The problem is (at least for me, who just go > through the pain for windows users :) ) that VS2003 is not available > anymore for free... while MS isn't distributing it, there area lot of copies floating around, and I don't think it's illegal to distribute them (anyone

Re: [Numpy-discussion] Specifying compiler command line options for numpy.disutils.core

2007-06-16 Thread David Cournapeau
Christian Marquardt wrote: > > Yes, this is possible - icc does use the standard system libraries. But > depending on the compiler options, icc will require additional libraries > from it's own set of libs. For example, with the -x[...] and -ax[...] > options which exploit the floating point pipeli