Using ICL to compile C extensions

John Carter jnc at
Mon Jan 10 09:14:24 EST 2005

On 3 Jan 2005 21:18:13 -0800, dayzman at wrote:

>Does anyone know how I can use "icl" (Intel C++) to compile C
>extensions? I'm on Windows, and my Python is compiled using VS7.1
>(binary distribution). Right now, when I run install, it uses
>cl.exe (MSVC++ Toolkit 2003), and I would like to use icl because
>MSVC++ 2003 does not support C99.
>Any help will be much appreciated.

I've not tried to do it using distutils yet, but when I was building
extension modules with my own make files and nmake all I had to do was
chance cl to icl and use the correct linker. You can tune the
performance playing with switches, but I got a factor 3 improvement on
a DCT type algorithm with out of the box settings.

I can send you an example makefile if you want

John Carter

jnc at

More information about the Python-list mailing list