b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 104.21.65.202 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / distutils /
Filename/usr/lib64/python2.6/distutils/unixccompiler.pyo
Size8.88 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:38
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc @s×dZdZddkZddkZddkZddklZlZddkl Z ddk
l Z ddk l
Z
lZlZddklZlZlZlZdd klZd
�Zd e
fd ��YZdS(
s9distutils.unixccompiler

Contains the UnixCCompiler class, a subclass of CCompiler that handles
the "typical" Unix-style command-line C compiler:
* macros defined with -Dname[=value]
* macros undefined with -Uname
* include search directories specified with -Idir
* libraries specified with -lllib
* library search directories specified with -Ldir
* compile handled by 'cc' (or similar) executable with -c option:
compiles .c to .o
* link static library handled by 'ar' command (possibly with 'ranlib')
* link shared library handled by 'cc -shared'
sB$Id: unixccompiler.py 82274 2010-06-27 12:39:22Z ronald.oussoren $iÿÿÿÿN(t
StringTypetNoneType(t sysconfig(tnewer(t CCompilertgen_preprocess_optionstgen_lib_options(tDistutilsExecErrort CompileErrortLibErrort LinkError(tlogc Csâd}}t|�}ti�d}t|id�d�}|djot}}nd|j}d|j}|pdtijoBx?y!|id�}|||d5Wq�tj
oPq�Xq�ndtijo#| o|tidi�}n|o;y!|id�}|||d5Wq@tj
oq@Xnd }d|jo!|id�}||d}n/d|jo!|id�}||d}n|o5ti
i |� o!t i
d |�t i
d
�n|S( se
This function will strip '-isysroot PATH' and '-arch ARCH' from the
compile flags if the user has specified one them in extra_compile_flags.

This is needed because '-arch ARCH' adds another architecture to the
build, without a way to remove an architecture. Furthermore GCC will
barf if multiple '-isysroot' arguments are present.
iit.is-archs -isysroott ARCHFLAGSis4Compiling with an SDK that doesn't seem to exist: %ss$Please check your Xcode installationN(tlisttostunametinttsplittTruetenvirontindext
ValueErrortNonetpathtisdirR twarn( t compiler_sotcc_argst stripArcht stripSysroottkernel_versiont
major_versionRtsysroottidx((s//usr/lib64/python2.6/distutils/unixccompiler.pyt_darwin_compiler_fixup,sF
 
  
 

 t
UnixCCompilerc BskeZdZhd&d6dgd6dgd6dgd6ddgd6dgd6d d
gd 6d&d 6Zeid
djod ged <nddddddgZdZdZ dZ
dZ dZ Z
Zeidjo
dZnd&d&d&d&d&d�Zd�Zd&dd&d�Zd&d&d&d&d&dd&d&d&d&d �
Zd!�Zd"�Zd#�Zd$�Zdd%�ZRS('tunixt preprocessortcctcompilerRt compiler_cxxs-sharedt linker_sot
linker_exetars-crtarchivertranlibitdarwins.cs.Cs.ccs.cxxs.cpps.ms.os.as.sos.dylibslib%s%stcygwins.exec Cs|id||�\}}}t||�}|i|} |o| id|g�n|o|| d*n|o| i|�n| i|�|ip|djpt||�oZ|o|it i
i |��ny|i | �Wqt
j
o}
t|
�qXndS(Ns-oi(t_fix_compile_argsRRR&textendtappendtforceRtmkpathRRtdirnametspawnRR( tselftsourcet output_filetmacrost include_dirst
extra_preargstextra_postargstignoretpp_optstpp_argstmsg((s//usr/lib64/python2.6/distutils/unixccompiler.pyt
preprocess�s"

'c Cs{|i}tidjot|||�}ny&|i|||d|g|�Wntj
o}t|�nXdS(NR/s-o(RtsystplatformR#R7RR( R8tobjtsrctextRR>R@RRB((s//usr/lib64/python2.6/distutils/unixccompiler.pyt_compile¬s  icCsÝ|i||�\}}|i|d|�}|i||�o�|itii|��|i|i|g||i �|i
o@y|i|i
|g�WqÅt j
o}t |�qÅXqÙnt
id|�dS(Nt
output_dirsskipping %s (up-to-date)(t_fix_object_argstlibrary_filenamet
_need_linkR5RRR6R7R-tobjectsR.RR R tdebug(R8RNtoutput_libnameRJROt target_langtoutput_filenameRB((s//usr/lib64/python2.6/distutils/unixccompiler.pytcreate_static_lib¶s
cCs8|i||�\}}|i|||�\}}}t||||�}t|�ttfjo
td�n|dj oti i
||�}n|i ||�oz||i |d|g}| odg|d*n|
o|
|d*n| o|i
| �n|iti i|��yÜ|tijo|i}n |i}|
djoo|ioed}ti i|d�djo-d}x$d||jo|d}q�Wn|i|||<ntid jot||�}n|i||�Wq4tj
o}t|�q4Xntid
|�dS( Ns%'output_dir' must be a string or Nones-os-gisc++tenvit=R/sskipping %s (up-to-date)(RKt
_fix_lib_argsRttypeRRt TypeErrorRRRtjoinRMRNR2R5R6Rt
EXECUTABLER+R*R)tbasenameRDRER#R7RR
R RO(R8t target_descRNRRRJt librariest library_dirstruntime_library_dirstexport_symbolsROR=R>t
build_tempRQtlib_optstld_argstlinkertiRB((s//usr/lib64/python2.6/distutils/unixccompiler.pytlinkÐsF  


cCsd|S(Ns-L((R8tdir((s//usr/lib64/python2.6/distutils/unixccompiler.pytlibrary_dir_option
scCsd|jp
d|jS(Ntgccsg++((R8t
compiler_name((s//usr/lib64/python2.6/distutils/unixccompiler.pyt_is_gcc
scCsÒtiitid��}tid djo d|Stid djo.|i|�odd|gSdd|gStid d
jptid d jo d |gS|i|�o d
|Sd|SdS(NtCCiR/s-Lishp-uxs-Wl,+ss+sitirix646tosf1V5s-rpaths-Wl,-Rs-R(RRR[Rtget_config_varRDRERk(R8RgR(((s//usr/lib64/python2.6/distutils/unixccompiler.pytruntime_library_dir_options
 (  cCsd|S(Ns-l((R8tlib((s//usr/lib64/python2.6/distutils/unixccompiler.pytlibrary_option,scCsÏ|i|dd�}|i|dd�}|i|dd�}tidjoKtid�}tid|�}|djo
d} q�|id �} nx.|D]&}
t i
i |
|�} t i
i |
|�} t i
i |
|�}
tidjo�|
i d
�p!|
i d �oi|
i d � oXt i
i | |
d |�} t i
i | |
d |�} t i
i | |
d |�}
nt i
i
| �o| St i
i
| �o| St i
i
|
�o|
Sq¡WdS(
Ntlib_typetsharedtdylibtstaticR/tCFLAGSs-isysroot\s+(\S+)t/is/System/s/usr/s /usr/local/(RLRDRERRotretsearchRtgroupRRRYt
startswithtexists(R8tdirsRqROtshared_ftdylib_ftstatic_ftcflagstmR!RgRtRuRv((s//usr/lib64/python2.6/distutils/unixccompiler.pytfind_library_file/s6

!  N(t__name__t
__module__t
compiler_typeRt executablesRDREtsrc_extensionst
obj_extensiontstatic_lib_extensiontshared_lib_extensiontdylib_lib_extensiontstatic_lib_formattshared_lib_formattdylib_lib_formatt
exe_extensionRCRIRSRfRhRkRpRrR�(((s//usr/lib64/python2.6/distutils/unixccompiler.pyR$ks@








   6    (t__doc__t __revision__RRDRyttypesRRt distutilsRtdistutils.dep_utilRtdistutils.ccompilerRRRtdistutils.errorsRRR R
R R#R$(((s//usr/lib64/python2.6/distutils/unixccompiler.pyt<module>s$" ?