summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/ccompiler.py
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2002-01-31 18:56:00 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2002-01-31 18:56:00 (GMT)
commit2544f51036c51d87be53f6a5e35e867c8333378a (patch)
tree5f745a0cd4c6d2473af7c6227c9ae5508bf8ffda /Lib/distutils/ccompiler.py
parentc318260a7121149153dcfc213a36ac81d8266875 (diff)
downloadcpython-2544f51036c51d87be53f6a5e35e867c8333378a.zip
cpython-2544f51036c51d87be53f6a5e35e867c8333378a.tar.gz
cpython-2544f51036c51d87be53f6a5e35e867c8333378a.tar.bz2
OS/2 patches by Andrew I MacIntyre for distutils.
Closes patch #435381.
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 21bf0c17..f4fc4bc 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -846,6 +846,7 @@ _default_compilers = (
# on a cygwin built python we can use gcc like an ordinary UNIXish
# compiler
('cygwin.*', 'unix'),
+ ('os2emx', 'emx'),
# OS name mappings
('posix', 'unix'),
@@ -892,6 +893,8 @@ compiler_class = { 'unix': ('unixccompiler', 'UnixCCompiler',
"Borland C++ Compiler"),
'mwerks': ('mwerkscompiler', 'MWerksCompiler',
"MetroWerks CodeWarrior"),
+ 'emx': ('emxccompiler', 'EMXCCompiler',
+ "EMX port of GNU C Compiler for OS/2"),
}
def show_compilers():