python (3.11.7)
    e?                        d Z ddlZddlZddlZddlmZmZmZ ddlZddl	m
Z
 ddlmZ ddl
mZmZmZmZ ddlmZ ddlmZ d	 Z G d
 de
          Z G d d
e          ZdZdZdZd Z ej        d          Zd Zd Z d Z!dS )a  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).
    N)PopenPIPEcheck_output)
UnixCCompiler)
write_file)DistutilsExecErrorCCompilerErrorCompileErrorUnknownFileError)LooseVersion)find_executablec                     t           j                            d          } | dk    rYt           j        | dz   | dz            }|dk    rdgS |dk    rdgS |d	k    rd
gS |dk    rdgS |d
k    rdgS t          d|z            dS )zaInclude the appropriate MSVC runtime library if Python was built
    with MSVC 7.0 or later.
    zMSC v.   
   1300msvcr701310msvcr711400msvcr801500msvcr901600msvcr100zUnknown MS Compiler version %s N)sysversionfind
ValueError)msc_posmsc_vers     M/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/distutils/cygwinccompiler.py	get_msvcrr#   =   s     kx((G"}}+gai
23f;
;
;
;
<>HIII% }    c                   T    e Zd ZdZdZdZdZdZdZdZ	dZ
dd
Zd Z	 	 	 	 dd
Z
ddZdS )CygwinCCompilerz? Handles the Cygwin port of the GNU C compiler to Windows.
    cygwinz.o.az.dllzlib%s%sz%s%sz.exer   c           
         t          j        | |||           t                      \  }}|                     d|d|d           |t          ur|                     d|z             t
                      \  | _        | _        | _	        |                     | j
        d| j        d| j        d| j	        dz              | j        d	k    rd
| _        nd| _        | j        dk    rd
}nd}|                     dddd| j        d|           | j        dk    rdg| _
        |                     d           d S t                      | _
        d S )NzPython's GCC status: z (details: )zPython's pyconfig.h doesn't seem to support your compiler. Reason: %s. Compiling may fail because of undefined preprocessor macros.z: gcc z, ld z
, dllwrap 
z2.10.90gccdllwrap2.13-shared
-mdll -staticzgcc -mcygwin -O -Wallzgcc -mcygwin -mdll -O -Wallzg++ -mcygwin -O -Wallzgcc -mcygwinz
 -mcygwin compilercompiler_socompiler_cxx
linker_exe	linker_so2.91.57msvcrtz,Consider upgrading to a newer version of gcc)r   __init__check_config_hdebug_printCONFIG_H_OKwarnget_versionsgcc_version
ld_versiondllwrap_version
compiler_type
linker_dllset_executables
dll_librariesr#   )selfverbosedry_runforcestatusdetails
shared_options          r"