Using ICL to compile C extensions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dayzman@hotmail.com

    #1

    Using ICL to compile C extensions

    Hi,

    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 setup.py 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.

    Cheers,
    Michael

  • Martin v. Löwis

    #2
    Re: Using ICL to compile C extensions

    dayzman@hotmail .com wrote:[color=blue]
    > 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 setup.py install, it uses
    > cl.exe (MSVC++ Toolkit 2003), and I would like to use icl because
    > MSVC++ 2003 does not support C99.[/color]

    It should be possible to use this compiler, as long as you can link to
    msvcr71.dll (i.e. as long as you have header files of the MS C library,
    and an import library that links to msvcr71).

    Whether you can use distutils to run the build process is a different
    issue - you might need to extend distutils.

    Regards,
    Martin

    Comment

    Working...