Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
distutils
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/distutils/emxccompiler.pyo
mò ‚=5Dc�����������@���s¸���d��Z��d�Z�d�k�Z�d�k�Z�d�k�Z�d�k�l�Z�l�Z�d�k�l �Z �d�k �l�Z�d�k�l �Z �l�Z�l�Z�d�k�l�Z�d�e �f�d �„��ƒ��YZ�d �Z�d�Z�d�Z�d �„��Z�d�„��Z�d�S(���sŽ���distutils.emxccompiler Provides the EMXCCompiler class, a subclass of UnixCCompiler that handles the EMX port of the GNU C compiler to OS/2. s=���$Id: emxccompiler.py 34786 2003-12-02 12:17:59Z aimacintyre $N(���s���gen_preprocess_optionss���gen_lib_options(���s ���UnixCCompiler(���s ���write_file(���s���DistutilsExecErrors���CompileErrors���UnknownFileError(���s���logt���EMXCCompilerc�����������B���s•���t��Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z �d�d�d�d �„�Z �d �„��Z�d��d��d��d��d��d�d��d��d��d��d�„ �Z �d�d�d �„�Z�d�d�„�Z�RS(���Nt���emxs���.objs���.libs���.dlls���%s%ss���.ress���.exei����c������ ���C���sÑ���t��i�|��|�|�|�ƒ�t�ƒ��\�}�}�|��i �d�|�|�f�ƒ�|�t �j �o�|��i�d�d�|�d�ƒ�n�t�ƒ��\�|��_ �|��_�|��i �|��i�d�|��i �|��i�f�ƒ�|��i�d�d�d�d�d �d �d�d�ƒ�d �g�|��_�d��S(���Ns%���Python's GCC status: %s (details: %s)s<���Python's pyconfig.h doesn't seem to support your compiler. s���Reason: %s.s<���Compiling may fail because of undefined preprocessor macros.s���: gcc %s, ld %s t���compilers5���gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wallt���compiler_sot ���linker_exes���gcc -Zomf -Zmt -Zcrtdllt ���linker_sos���gcc -Zomf -Zmt -Zcrtdll -Zdllt���gcc(���t ���UnixCCompilert���__init__t���selft���verboset���dry_runt���forcet���check_config_ht���statust���detailst���debug_printt���CONFIG_H_OKt���warnt���get_versionst���gcc_versiont ���ld_versiont ���compiler_typet���set_executablest ���dll_libraries(���R ���R ���R���R���R���R���(����(����t,���/usr/lib/python2.4/distutils/emxccompiler.pyR���*���s���� $ c���������C���sš���|�d�j�o?�y�|��i�d�d�|�g�ƒ�Wq–�t�j �o�}�t�|�‚�q–�XnK�y)�|��i�|��i�|�|�d�|�g�|�ƒ�Wn�t�j �o�}�t�|�‚�n�Xd��S(���Ns���.rct���rcs���-rs���-o(���t���extR ���t���spawnt���srct���DistutilsExecErrort���msgt���CompileErrorR���t���cc_argst���objt���extra_postargs(���R ���R"���R���R���R!���R#���t���pp_optsR���(����(����R���t���_compileM���s���� )c���������C���s‘��t��i��| �p�g��ƒ�} �t��i��|�p�g��ƒ�}�t��i��|�p�g��ƒ�}�|�i�|��i�ƒ�|�d��j �oâ�|�|��i �j�oÒ�t�i�i �|�d�ƒ�}�t�i�i�t�i�i�|�ƒ�ƒ�\�}�}�t�i�i�|�|�d�ƒ�}�d�t�i�i�t�i�i�|�ƒ�ƒ�d�d�d�g�}�x�|�D]�}�|�i�d�|�ƒ�qø�W|��i�t�|�|�f�d�|�ƒ�|�i�|�ƒ�n�| �p�| �i�d�ƒ�n�t�i�|��|�|�|�|�|�|�|�d��| �| �|�|�| �ƒ�d��S( ���Ni����s���.defs$���LIBRARY %s INITINSTANCE TERMINSTANCEs���DATA MULTIPLE NONSHAREDt���EXPORTSs��� "%s"s ���writing %ss���-s($���t���copyt ���extra_preargst ���librariest���objectst���extendR ���R���t���export_symbolst���Nonet���target_desct ���EXECUTABLEt���ost���patht���dirnamet���temp_dirt���splitextt���basenamet���output_filenamet���dll_namet ���dll_extensiont���joint���def_filet���contentst���symt���appendt���executet ���write_filet���debugR���t���linkt ���output_dirt���library_dirst���runtime_library_dirsR#���t ���build_tempt���target_lang(���R ���R.���R*���R6���RB���R)���RC���RD���R,���R@���R(���R#���RE���RF���R7���R8���R;���R3���R<���R:���(����(����R���RA���[���s>���� $/� t����c���������C���sø���|�d��j�o �d�}�n�g��}�xÔ�|�D]Ì�}�t�i�i�t�i�i�|�ƒ�ƒ�\�}�}�|�|��i�d�g�j�o�t �d�|�|�f�‚�n�|�o�t�i�i�|�ƒ�}�n�|�d�j�o'�|�i�t�i�i�|�|�|��i�ƒ�ƒ�q$�|�i�t�i�i�|�|�|��i�ƒ�ƒ�q$�W|�S(���NRG���s���.rcs"���unknown file type '%s' (from '%s')(���RB���R-���t ���obj_namest���source_filenamest���src_nameR0���R1���R4���t���normcaset���baseR���R ���t���src_extensionst���UnknownFileErrort ���strip_dirR5���R=���R9���t ���res_extensiont ���obj_extension(���R ���RI���RO���RB���RH���R���RL���RJ���(����(����R���t���object_filenames¶���s ���� � �$ c��� ������C���sÃ���d�|�}�d�|�}�y�t�i�d�i�d�ƒ�}�Wn�t�j �o �g��}�n�Xxr�|�|�D]f�}�t�i �i�|�|�ƒ�}�t�i �i�|�|�ƒ�} �t�i �i�|�ƒ�o�|�SqU�t�i �i�| �ƒ�o�| �SqU�qU�Wd��S(���Ns���%s.libs ���lib%s.libt���LIBRARY_PATHt���;(���t���libt���shortlibt���longlibR0���t���environt���splitt���emx_dirst���KeyErrort���dirst���dirR1���R9���t ���shortlibpt���longlibpt���existsR-���( ���R ���R\���RU���R@���RZ���R^���RW���RV���R]���R_���(����(����R���t���find_library_fileÒ���s���� �(���t���__name__t ���__module__R���RQ���t���static_lib_extensiont���shared_lib_extensiont���static_lib_formatt���shared_lib_formatRP���t ���exe_extensionR���R%���R-���RA���RR���Ra���(����(����(����R���R�������s���# '[t���oks���not okt ���uncertainc����������C���sÞ���d�k��l�}�d�k�}��|��i�t�i�d�ƒ�d�j�o�t�d�f�Sn�|�i�ƒ��}�y&�t �|�ƒ�}�|�i�ƒ��}�|�i �ƒ��Wn,�t�j �o �}�t�d�|�|�i�f�f�Sn;�X|��i�|�d�ƒ�d�j�o�t�d�|�f�Sn�t�d �|�f�Sd�S( ���s¡��Check if the current Python installation (specifically, pyconfig.h) appears amenable to building extensions with GCC. Returns a tuple (status, details), where 'status' is one of the following constants: CONFIG_H_OK all is well, go ahead and compile CONFIG_H_NOTOK doesn't look good CONFIG_H_UNCERTAIN not sure -- unable to read pyconfig.h 'details' is a human-readable string explaining the situation. Note there are two ways to conclude "OK": either 'sys.version' contains the string "GCC" (implying that this Python was built with GCC), or the installed "pyconfig.h" contains the string "__GNUC__". (���s ���sysconfigNt���GCCi����s���sys.version mentions 'GCC's���couldn't read '%s': %st���__GNUC__s���'%s' mentions '__GNUC__'s ���'%s' does not mention '__GNUC__'(���t ���distutilst ���sysconfigt���stringt���findt���syst���versionR���t���get_config_h_filenamet���fnt���opent���ft���readt���st���closet���IOErrort���exct���CONFIG_H_UNCERTAINt���strerrort���CONFIG_H_NOTOK(���Ro���Rv���Rn���Rx���Rt���R{���(����(����R���R ���ò���s����� c���� ������C���s´���d�k��l�}�d�k�l�}��d�k�}�|��d�ƒ�}�|�oh�t�i�|�d�d�ƒ�}�|�i �ƒ��}�|�i�ƒ��|�i�d�|�ƒ�}�|�o�|�|�i�d�ƒ�ƒ�}�q¤�d�}�n�d�}�d�}�|�|�f�S( ���sa��� Try to find out the versions of gcc and ld. If not possible it returns None for it. (���s ���StrictVersion(���s���find_executableNR���s ��� -dumpversiont���rs���(\d+\.\d+\.\d+)i���(���t���distutils.versiont ���StrictVersiont���distutils.spawnt���find_executablet���ret���gcc_exeR0���t���popent���outRw���t ���out_stringRy���t���searcht���resultt���groupR���R-���R���( ���Rƒ���R���R���R„���R…���RŠ���R���Rˆ���R‡���(����(����R���R���$��s ����� (���t���__doc__t���__revision__R0���Rq���R'���t���distutils.ccompilert���gen_preprocess_optionst���gen_lib_optionst���distutils.unixccompilerR���t���distutils.file_utilR?���t���distutils.errorsR���R ���RN���Rm���t���logR����R���R~���R|���R ���R���(���R���R���R”���R���R���R���R~���R ���R���Rq���R|���R����R ���R?���R'���R0���RN���R���(����(����R���t���?���s��� Ï 2