[Distutils] Specifying a compiler

Venkat Bommakanti venkatbo at yahoo.com
Thu Nov 30 01:48:59 CET 2006


--- Robert McFadzean
<Robert.McFadzean at lakelandc.ab.ca> wrote:

> The documentation indicates that one can specify a
> compiler as in build --compiler=vc98.  I have Visual
> Studio VC98 C++ 6.0    vc98 doesn't work to specify
> the compiler.  Does anyone know how I would specify
> it so setup will use what I have, rather than
> looking for VC7.0 that was used to compile python?
> 

Hi Robert,

I think there is a fixed set of "supported compilers"
identified by specific "names"...

I think <pythonX>/Lib/distutils/ccompiler.py
lists those pre-determined "named compilers".
You may need to use "--compiler=msvc" and ensure 
your compiler of choice is aliased to "msvc" 
(probably what setuptools is expecting)

Hope this helps...  unsure tho...
/venkat

> Robert G. McFadzean
> Instructor
> Vermilion School of Agriculture
> Lakeland College
> 5707 47 Ave West
> Vermilion AB  T9X 1K5
> Tlf: (780) 853-4890
> Fax: (780) 853-8704
> robert.mcfadzean at lakelandc.ab.ca
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
>
http://mail.python.org/mailman/listinfo/distutils-sig
> 



 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


More information about the Distutils-SIG mailing list