AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/distutils/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/distutils/__pycache__/cygwinccompiler.cpython-311.opt-1.pyc |
� c��f�? � � � 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)�Popen�PIPE�check_output)� UnixCCompiler)� write_file)�DistutilsExecError�CCompilerError�CompileError�UnknownFileError)�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.���� � �1300�msvcr70�1310�msvcr71�1400�msvcr80�1500�msvcr90�1600�msvcr100zUnknown MS Compiler version %s N)�sys�version�find� ValueError)�msc_pos�msc_vers �@/opt/alt/python311/lib64/python3.11/distutils/cygwinccompiler.py� get_msvcrr# = s� � � �k���x�(�(�G��"�}�}��+�g�a�i��� �2�3���f����;�� �� � ��;�� �� � ��;�� �� � ��;�� �� � ��<���>��H�I�I�I�% �}� c �T � e Zd ZdZdZdZdZdZdZdZ dZ dd �Zd� Z dd �Z dd�ZdS )�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 �d�z � � | 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: �)z�Python'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.90�gcc�dllwrap�2.13�-shared� -mdll -staticzgcc -mcygwin -O -Wallzgcc -mcygwin -mdll -O -Wallzg++ -mcygwin -O -Wallzgcc -mcygwinz -mcygwin ��compiler�compiler_so�compiler_cxx� linker_exe� linker_so�2.91.57�msvcrtz,Consider upgrading to a newer version of gcc)r �__init__�check_config_h�debug_print�CONFIG_H_OK�warn�get_versions�gcc_version� ld_version�dllwrap_version� compiler_type� linker_dll�set_executables� dll_librariesr# )�self�verbose�dry_run�force�status�details� shared_options r"