summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/ccompiler.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-01-15 16:09:35 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-01-15 16:09:35 (GMT)
commit3f819ec2edc54c8ccf0e6edb836a908ff6e31904 (patch)
tree45d3102b500ea6c2c02b5798ad1fe7d2149de6a7 /Lib/distutils/ccompiler.py
parent8eb4b56828c9083ab91a8cfa0ac15fe9cb30f3cf (diff)
downloadcpython-3f819ec2edc54c8ccf0e6edb836a908ff6e31904.zip
cpython-3f819ec2edc54c8ccf0e6edb836a908ff6e31904.tar.gz
cpython-3f819ec2edc54c8ccf0e6edb836a908ff6e31904.tar.bz2
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
Diffstat (limited to 'Lib/distutils/ccompiler.py')
-rw-r--r--Lib/distutils/ccompiler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py
index b10ee67..53901b3 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -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():