def __init__(self, verbose=0, dry_run=0, force=0): from distutils import version import sys StrictVersion = version.StrictVersion if sys.version_info < (2, 5): version.StrictVersion = version.LooseVersion Mingw32CCompiler.__init__(self, verbose, dry_run, force) version.StrictVersion = StrictVersion
def __init__ (self, verbose=0, dry_run=0, force=0): from distutils import version import sys StrictVersion = version.StrictVersion if sys.version_info < (2,5): version.StrictVersion = version.LooseVersion Mingw32CCompiler.__init__ (self, verbose, dry_run, force) version.StrictVersion = StrictVersion
def __init__(self, verbose=0, dry_run=0, force=0): _Mingw32CCompiler.__init__(self, verbose=0, dry_run=0, force=0) # ld_version >= "2.13" support -shared so use it instead of # -mdll -static if self.ld_version >= "2.13": shared_option = "-shared" else: shared_option = "-mdll -static" # A real mingw32 doesn't need to specify a different entry point, # but cygwin 2.91.57 in no-cygwin-mode needs it. if self.gcc_version <= "2.91.57": entry_point = '--entry _DllMain@12' else: entry_point = '' self.set_executables(compiler='gcc -O -mms-bitfields -Wall', compiler_so='gcc -mms-bitfields -mdll -O -Wall', compiler_cxx='g++ -mms-bitfields -O -Wall', linker_exe='gcc', linker_so='%s %s %s' % (self.linker_dll, shared_option, entry_point))
def __init__(self, verbose=0, dry_run=0, force=0): Mingw32CCompiler.__init__(self, verbose, dry_run, force) # undo following line: # http://hg.python.org/cpython/file/3a1db0d2747e/Lib/distutils/cygwinccompiler.py#l343 self.dll_libraries = []
def __init__(self, verbose=0, dry_run=0, force=0): Mingw32CCompiler.__init__(self, verbose, dry_run, force)