[Distutils] Specifying a compiler
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?
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...
> Robert G. McFadzean
> 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
Check out Yahoo! Messenger's low PC-to-Phone call rates.
More information about the Distutils-SIG