python (3.11.7)
    e?                        	 d dl Z d dlZd dlZd dlmZmZmZ d dlZd dlm	Z	 d dl
mZ d dlm
Z
mZmZmZ d dlmZ d dlmZ d Z G d	 d
e	          Z G d de          Zd
ZdZdZd Z ej        d          Zd Zd Zd Z dS )    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            d S )NzMSC v.   
   1300msvcr701310msvcr711400msvcr801500msvcr901600msvcr100zUnknown MS Compiler version %s )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                   R    e Zd Z	 dZdZdZdZdZdZdZ	dd	Z
d
 Z	 	 	 	 ddZddZ
dS )CygwinCCompilercygwinz.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"