mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
8eb4b56828
commit
3f819ec2ed
3 changed files with 216 additions and 6 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue