On 21 April 2010 05:22, Izarf <[email protected]> wrote: > All examples I have seen in compiling has been using gcc. > Could some one please give me an example compiling the generated c-code with > visual studios cl.exe? I also need to include a library (dokan.lib). > > like: cl.exe generated-extension-code.c [link with dokan.lib] [make to DLL?]
Write a proper setup.py file, and Python distutils will pick MSVC for you and handle the gory details. Refer to the distutils documentation to figure out how to add define macros, include dirs, libraries, library dirs and all that. PS: This question is more appropriate for cython-users -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
