| Server IP : 43.141.50.122 / Your IP : 113.219.202.44 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/distutils/__pycache__/ |
Upload File : |
�
��e.: � �~ � d Z ddlZddlmZmZmZmZmZ ddlm Z m
Z
ddlmZ ddl
mZ ddlmZ G d� d e � � ZdS )
z�distutils.bcppcompiler
Contains BorlandCCompiler, an implementation of the abstract CCompiler class
for the Borland C++ compiler.
� N)�DistutilsExecError�CompileError�LibError� LinkError�UnknownFileError)� CCompiler�gen_preprocess_options)�
write_file)�newer)�logc � � e Zd ZdZdZi ZdgZg d�Zeez ZdZ dZ
dZdxZZ
d Z dd�Z dd
�Z dd�Z dd�Zdd�Z dd�Z dd�ZdS )�BCPPCompilerzConcrete class that implements an interface to the Borland C/C++
compiler, as defined by the CCompiler abstract class.
�bcppz.c)z.ccz.cppz.cxxz.objz.libz.dllz%s%sz.exer c �� � t j | |||� � d| _ d| _ d| _ d | _ g d�| _ g d�| _ g d�| _ g d�| _ g | _
g d�| _ g d�| _ d S ) Nz bcc32.exezilink32.exeztlib.exe)�/tWMz/O2�/q�/g0)r z/Odr r )z/Tpd�/Gnr �/x)r r r )r r r z/r)
r �__init__�cc�linker�lib�preprocess_options�compile_options�compile_options_debug�ldflags_shared�ldflags_shared_debug�ldflags_static�ldflags_exe�ldflags_exe_debug)�self�verbose�dry_run�forces �//usr/lib64/python3.11/distutils/bcppcompiler.pyr zBCPPCompiler.__init__5 s� � �
��D�'�7�E�:�:�:� ���#������"&���;�;�;���%A�%A�%A��"�9�9�9���$?�$?�$?��!� ���.�.�.���!9�!9�!9����� Nc �~ � | � ||||||� � \ }} }}
}|pg }|� d� � |r|� | j � � n|� | j � � | D �]H}
||
\ }}n# t
$ r Y �w xY wt j � |� � }t j � |
� � }
| � t j �
|
� � � � |dk r��|dk r= | � dd|
|g� � n!# t $ r}t |� � �d }~ww xY w��|| j v rd}n|| j v rd}nd}d|
z } | � | j g|z |
z ||gz |z |gz � � ��)# t $ r}t |� � �d }~ww xY w| S ) Nz-c�.res�.rc�brcc32z-fo� z-P�-o)�_setup_compile�append�extendr r �KeyError�os�path�normpath�mkpath�dirname�spawnr r �
_c_extensions�_cpp_extensionsr )r"