Newbie question on C extensions!

Prabu prabu at ti.com
Mon Jun 9 05:36:58 EDT 2003


Thanks, is there a way in which I can use my LCC compiler instead of the
MSVC compiler? I find this file msvccompiler.py in the distutils, from where
I suspect this reference to be coming from. Can you change/replace this file
to use the LCC compiler rather than look for the MSVC one?

cheers


"Alan Kennedy" <alanmk at hotmail.com> wrote in message
news:3EE4513D.3F96A840 at hotmail.com...
> Prabu wrote:
>
> > I get the error
> > message like "cl.exe - invalid command or file name" during compilation
of
> > this C file from setup.
>
> "cl.exe" is the microsoft command line C compiler. You won't get very far
> without it if you're trying to create C extensions.
>
> Do you have a C/C++ compiler installed on your machine?
>
> Have you set your path environment variable so that the directory
containing the
> "cl.exe" executable is on it?
>
> Until you can type "cl" on a command line and have that call the C
compiler, you
> won't be able to do anything with C.
>
> HTH,
>
> --
> alan kennedy
> -----------------------------------------------------
> check http headers here: http://xhaus.com/headers
> email alan:              http://xhaus.com/mailto/alan






More information about the Python-list mailing list