config root man

Current Path : /usr/local/lib/python2.5/distutils/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/distutils/emxccompiler.pyo

³ņ
h”Rc@sŠdZdZddkZddkZddkZddklZlZddkl	Z	ddk
lZddkl
Z
lZlZddklZd	e	fd
„ƒYZdZdZd
Zd„Zd„ZdS(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 $i’’’’N(tgen_preprocess_optionstgen_lib_options(t
UnixCCompiler(t
write_file(tDistutilsExecErrortCompileErrortUnknownFileError(tlogtEMXCCompilercBs•eZdZdZdZdZdZdZdZdZ	dddd„Z
d	„Zddddddddddd
„
Z
ddd„Zdd
„ZRS(temxs.objs.libs.dlls%s%ss.ress.exeic	CsŃti||||ƒtƒ\}}|id||fƒ|tj	o|idd|dƒntƒ\|_|_|i|i	d|i|ifƒ|i
ddddd	d
ddƒd
g|_dS(Ns%Python's GCC status: %s (details: %s)s<Python's pyconfig.h doesn't seem to support your compiler.  sReason: %s.s<Compiling may fail because of undefined preprocessor macros.s: gcc %s, ld %s
tcompilers5gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Walltcompiler_sot
linker_exesgcc -Zomf -Zmt -Zcrtdllt	linker_sosgcc -Zomf -Zmt -Zcrtdll -Zdlltgcc(Rt__init__tcheck_config_htdebug_printtCONFIG_H_OKtwarntget_versionstgcc_versiont
ld_versiont
compiler_typetset_executablest
dll_libraries(tselftverbosetdry_runtforcetstatustdetails((s2/usr/local/lib/python2.5/distutils/emxccompiler.pyR*s"	
cCsš|djo?y|idd|gƒWq–tj
o}t|‚q–XnKy)|i|i||d|g|ƒWntj
o}t|‚nXdS(Ns.rctrcs-rs-o(tspawnRRR(Rtobjtsrctexttcc_argstextra_postargstpp_optstmsg((s2/usr/local/lib/python2.5/distutils/emxccompiler.pyt_compileMs
cCs‘ti|
pgƒ}
ti|pgƒ}ti|pgƒ}|i|iƒ|dj	oā||ijoŅtii|dƒ}tiitii	|ƒƒ\}}tii
||dƒ}dtiitii	|ƒƒdddg}x|D]}|id|ƒqųW|it
||fd|ƒ|i|ƒn|	p|
idƒnti||||||||d|	|
|||
ƒdS(	Nis.defs$LIBRARY %s INITINSTANCE TERMINSTANCEsDATA MULTIPLE NONSHAREDtEXPORTSs  "%s"s
writing %ss-s(tcopytextendRtNonet
EXECUTABLEtostpathtdirnametsplitexttbasenametjointappendtexecuteRRtlink(Rttarget_desctobjectstoutput_filenamet
output_dirt	librariestlibrary_dirstruntime_library_dirstexport_symbolstdebugt
extra_preargsR&t
build_tempttarget_langttemp_dirtdll_namet
dll_extensiontdef_filetcontentstsym((s2/usr/local/lib/python2.5/distutils/emxccompiler.pyR7[sH
		 		tcCsų|djo
d}ng}xŌ|D]Ģ}tiitii|ƒƒ\}}||idgjotd||f‚n|otii|ƒ}n|djo'|itii	|||i
ƒƒq$|itii	|||iƒƒq$W|S(NRJs.rcs"unknown file type '%s' (from '%s')(R-R/R0R2tnormcasetsrc_extensionsRR3R5R4t
res_extensiont
obj_extension(Rtsource_filenamest	strip_dirR;t	obj_namestsrc_nametbaseR$((s2/usr/local/lib/python2.5/distutils/emxccompiler.pytobject_filenames¶s$

$
c
CsĆd|}d|}ytididƒ}Wntj
o
g}nXxr||D]f}tii||ƒ}tii||ƒ}	tii|ƒo|SqUtii|	ƒo|	SqUqUWdS(Ns%s.libs	lib%s.libtLIBRARY_PATHt;(R/tenvirontsplittKeyErrorR0R4texistsR-(
RtdirstlibR@tshortlibtlonglibtemx_dirstdirt	shortlibptlonglibp((s2/usr/local/lib/python2.5/distutils/emxccompiler.pytfind_library_fileŅs

N(t__name__t
__module__RRNtstatic_lib_extensiontshared_lib_extensiontstatic_lib_formattshared_lib_formatRMt
exe_extensionRR)R-R7RTRc(((s2/usr/local/lib/python2.5/distutils/emxccompiler.pyRs2 	Ptoksnot okt	uncertaincCsäddkl}ddk}|itidƒdjotdfSn|iƒ}y&t|ƒ}|i	ƒ}|i
ƒWn,tj
o }td||i
ffSn;X|i|dƒdjotd	|fSntd
|fSdS(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__".
    i’’’’(t	sysconfigNtGCCissys.version mentions 'GCC'scouldn't read '%s': %st__GNUC__s'%s' mentions '__GNUC__'s '%s' does not mention '__GNUC__'(t	distutilsRmtstringtfindtsystversionRtget_config_h_filenametopentreadtclosetIOErrortCONFIG_H_UNCERTAINtstrerrortCONFIG_H_NOTOK(RmRqtfntftstexc((s2/usr/local/lib/python2.5/distutils/emxccompiler.pyRņsc	Cs½ddkl}ddkl}ddk}|dƒ}|ohti|ddƒ}|iƒ}|iƒ|i	d|ƒ}|o||i
d	ƒƒ}q­d}nd}d}||fS(
sa Try to find out the versions of gcc and ld.
        If not possible it returns None for it.
    i’’’’(t
StrictVersion(tfind_executableNRs
 -dumpversiontrs(\d+\.\d+\.\d+)i(tdistutils.versionRtdistutils.spawnR‚treR/tpopenRwRxtsearchtgroupR-(	RR‚R†tgcc_exetoutt
out_stringtresultRR((s2/usr/local/lib/python2.5/distutils/emxccompiler.pyR$s

(t__doc__t__revision__R/RsR+tdistutils.ccompilerRRtdistutils.unixccompilerRtdistutils.file_utilRtdistutils.errorsRRRRpRRRR|RzRR(((s2/usr/local/lib/python2.5/distutils/emxccompiler.pys<module>s$Ļ	2

Man Man