Fix from Jack Jansen for the Mac and the Metrowerks compiler, posted

to the Distutils-SIG and archived at
http://mail.python.org/pipermail/distutils-sig/2000-November/001755.html
This commit is contained in:
Andrew M. Kuchling 2001-01-15 16:09:35 +00:00
parent 8eb4b56828
commit 3f819ec2ed
3 changed files with 216 additions and 6 deletions

View file

@ -838,6 +838,7 @@ class CCompiler:
# that platform.
default_compiler = { 'posix': 'unix',
'nt': 'msvc',
'mac': 'mwerks',
}
# Map compiler types to (module_name, class_name) pairs -- ie. where to
@ -853,6 +854,8 @@ compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',
"Mingw32 port of GNU C Compiler for Win32"),
'bcpp': ('bcppcompiler', 'BCPPCompiler',
"Borland C++ Compiler"),
'mwerks': ('mwerkscompiler', 'MWerksCompiler',
"MetroWerks CodeWarrior"),
}
def show_compilers():