Ñò §ÚêLc @ sï d Z d Z d d k Z d d k Z d d k Z d d k l Z l Z d d k l Z d d k l Z d d k l Z l Z l Z d d k l Z d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d Z d Z d Z d „ Z d „ Z d S( s 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). s@ $Id: cygwinccompiler.py 73349 2009-06-11 09:17:19Z tarek.ziade $iÿÿÿÿN( t gen_preprocess_optionst gen_lib_options( t UnixCCompiler( t write_file( t DistutilsExecErrort CompileErrort UnknownFileError( t logc C s£ t i i d ƒ } | d j o€ t i | d | d !} | d j o d g S| d j o d g S| d j o d g S| d j o d g St d | ƒ ‚ n d S( sa Include the appropriate MSVC runtime library if Python was built with MSVC 7.0 or later. s MSC v.iÿÿÿÿi i t 1300t msvcr70t 1310t msvcr71t 1400t msvcr80t 1500t msvcr90s Unknown MS Compiler version %s N( t syst versiont findt ValueError( t msc_post msc_ver( ( s1 /usr/lib64/python2.6/distutils/cygwinccompiler.pyt get_msvcr; s t CygwinCCompilerc B sƒ e Z d Z d Z d Z d Z d Z d Z d Z d d d d „ Z d „ Z d d d d d d d d d d d „ Z d d d „ Z RS( t cygwins .os .as .dlls lib%s%ss %s%ss .exei c C s[ t i | | | | ƒ t ƒ \ } } | i d | | f ƒ | t j o | i d | ƒ n t ƒ \ | _ | _ | _ | i | i d | i | i | i f ƒ | i d j o d | _ n d | _ | i d j o d } n d } | i d d d d d d d d d d | i | f ƒ | i d j o d g | _ | i d ƒ n t ƒ | _ d S( Ns% Python's GCC status: %s (details: %s)sƒ Python's pyconfig.h doesn't seem to support your compiler. Reason: %s. Compiling may fail because of undefined preprocessor macros.s : gcc %s, ld %s, dllwrap %s s 2.10.90t gcct dllwraps 2.13s -shareds -mdll -statict compilers gcc -mcygwin -O -Wallt compiler_sos gcc -mcygwin -mdll -O -Wallt compiler_cxxs g++ -mcygwin -O -Wallt linker_exes gcc -mcygwint linker_sos %s -mcygwin %ss 2.91.57t msvcrts, Consider upgrading to a newer version of gcc( R t __init__t check_config_ht debug_printt CONFIG_H_OKt warnt get_versionst gcc_versiont ld_versiont dllwrap_versiont compiler_typet linker_dllt set_executablest dll_librariesR ( t selft verboset dry_runt forcet statust detailst shared_option( ( s1 /usr/lib64/python2.6/distutils/cygwinccompiler.pyR! \ s<