File "bcppcompiler.cpython-34.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python34/lib64/python3.4/distutils/__pycache__/bcppcompiler.cpython-34.pyc
File size: 7.12 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
h fW: @ s d Z d d l Z d d l m Z m Z m Z m Z m Z m Z d d l m
Z
m Z m Z d d l
m Z d d l m Z d d l m Z Gd d d e
Z d S)
zdistutils.bcppcompiler
Contains BorlandCCompiler, an implementation of the abstract CCompiler class
for the Borland C++ compiler.
N)DistutilsExecErrorDistutilsPlatformErrorCompileErrorLibError LinkErrorUnknownFileError) CCompilergen_preprocess_optionsgen_lib_options)
write_file)newer)logc @ s e Z d Z d Z d Z i Z d g Z d d d g Z e e Z d Z d Z
d Z d
Z Z
d Z d d d d
d Z d d d d d d d d d Z d d d d d Z d d d d d d d d d d d d
Z d d d Z d d d d Z d d d d d d d Z d S)BCPPCompilerzConcrete class that implements an interface to the Borland C/C++
compiler, as defined by the CCompiler abstract class.
Zbcppz.cz.ccz.cppz.cxxz.objz.libz.dllz%s%sz.exer c C s t j | | | | d | _ d | _ d | _ d | _ d d d d g | _ d d d d g | _ d d
d d g | _ d d
d d g | _ g | _
d
d d g | _ d
d d d g | _ d S)
Nz bcc32.exezilink32.exeztlib.exez/tWMz/O2z/qz/g0z/Odz/Tpdz/Gnz/xz/r)
r __init__cclinkerlibZpreprocess_optionscompile_optionscompile_options_debugldflags_sharedldflags_shared_debugZldflags_staticldflags_exeldflags_exe_debug)selfverboseZdry_runforce r ;/opt/alt/python34/lib64/python3.4/distutils/bcppcompiler.pyr 5 s zBCPPCompiler.__init__Nc C s
| j | | | | | | \ } } } }
} | p6 g } | j d | r_ | j | j n | j | j x| D]}
y | |
\ } } Wn t k
r wv Yn Xt j j | } t j j |
}
| j t j j
|
| d k r qv n | d k rZy | j d d |
| g Wqv t k
rS} z t
| WYd d } ~ Xqv Xqv n | | j k rrd } n | | j k rd } n d } d |
} y4 | j | j g | |
| | g | | g Wqv t k
r} z t
| WYd d } ~ Xqv Xqv W| S) Nz-cz.resz.rcZbrcc32z-fo z-Pz-o)Z_setup_compileappendextendr r KeyErrorospathnormpathmkpathdirnamespawnr r
_c_extensions_cpp_extensionsr )r Zsources
output_dirmacrosinclude_dirsdebug
extra_preargsextra_postargsZdependsobjectspp_optsZbuildZcompile_optsobjsrcextmsgZ input_optZ
output_optr r r compileQ sF
.#zBCPPCompiler.compilec C s | j | | \ } } | j | d | } | j | | r | d g | } | rX n y | j | j g | Wq t k
r } z t | WYd d } ~ Xq Xn t j d | d S)Nr* z/uzskipping %s (up-to-date)) _fix_object_argslibrary_filename
_need_linkr'