summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-06-05 18:37:53 +0000
committerHye-Shik Chang <hyeshik@gmail.com>2004-06-05 18:37:53 +0000
commit10fc69e6cf3fed9c530548ec7a8dbc4536ad4576 (patch)
treeae89c865920640c0f87674b378ede4b97cf7f314
parent48fa26d6758e83a5680f95d8795ee6428d752a02 (diff)
downloadpython-setuptools-git-10fc69e6cf3fed9c530548ec7a8dbc4536ad4576.tar.gz
SF #877165: Give an info about what C++ compiler command should be
used in cygwin and mingw32. (Reported by Michael Droettboom)
-rw-r--r--cygwinccompiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cygwinccompiler.py b/cygwinccompiler.py
index 94b8b86b..0101bae5 100644
--- a/cygwinccompiler.py
+++ b/cygwinccompiler.py
@@ -108,6 +108,7 @@ class CygwinCCompiler (UnixCCompiler):
# XXX optimization, warnings etc. should be customizable.
self.set_executables(compiler='gcc -mcygwin -O -Wall',
compiler_so='gcc -mcygwin -mdll -O -Wall',
+ compiler_cxx='g++ -mcygwin -O -Wall',
linker_exe='gcc -mcygwin',
linker_so=('%s -mcygwin %s' %
(self.linker_dll, shared_option)))
@@ -295,6 +296,7 @@ class Mingw32CCompiler (CygwinCCompiler):
self.set_executables(compiler='gcc -mno-cygwin -O -Wall',
compiler_so='gcc -mno-cygwin -mdll -O -Wall',
+ compiler_cxx='g++ -mno-cygwin -O -Wall',
linker_exe='gcc -mno-cygwin',
linker_so='%s -mno-cygwin %s %s'
% (self.linker_dll, shared_option,