Trees | Indices | Help |
|
---|
distutils.cygwinccompiler
Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode).
'
$Id: cygwinccompiler.py 37828 2004年11月10日 22:23
...
'
ok
'
'
not ok
'
'
uncertain
'
Imports: os, sys, copy, gen_preprocess_options, gen_lib_options, UnixCCompiler, write_file, DistutilsExecError, CompileError, UnknownFileError, log
Check if the current Python installation (specifically, pyconfig.h) appears amenable to building extensions with GCC. Returns a tuple (status, details), where 'status' is one of the following constants: CONFIG_H_OK all is well, go ahead and compile CONFIG_H_NOTOK doesn't look good CONFIG_H_UNCERTAIN not sure -- unable to read pyconfig.h 'details' is a human-readable string explaining the situation. Note there are two ways to conclude "OK": either 'sys.version' contains the string "GCC" (implying that this Python was built with GCC), or the installed "pyconfig.h" contains the string "__GNUC__".
Try to find out the versions of gcc, ld and dllwrap. If not possible it returns None for it.
'
$Id: cygwinccompiler.py 37828 2004年11月10日 22:23:15Z loewis $
'
Trees | Indices | Help |
|
---|