distutils.unixccompiler
index
/usr/lib/python1.6/distutils/unixccompiler.py

distutils.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'

 
Modules
            
os
re
string

 
Classes
            
distutils.ccompiler.CCompiler
UnixCCompiler

 
class UnixCCompiler(distutils.ccompiler.CCompiler)
       
  
__init__(self, verbose=0, dry_run=0, force=0)
_check_macro_definitions(self, definitions) from distutils.ccompiler.CCompiler
_find_macro(self, name) from distutils.ccompiler.CCompiler
_fix_compile_args(self, output_dir, macros, include_dirs) from distutils.ccompiler.CCompiler
_fix_lib_args(self, libraries, library_dirs, runtime_library_dirs) from distutils.ccompiler.CCompiler
_fix_object_args(self, objects, output_dir) from distutils.ccompiler.CCompiler
_need_link(self, objects, output_file) from distutils.ccompiler.CCompiler
_prep_compile(self, sources, output_dir) from distutils.ccompiler.CCompiler
add_include_dir(self, dir) from distutils.ccompiler.CCompiler
add_library(self, libname) from distutils.ccompiler.CCompiler
add_library_dir(self, dir) from distutils.ccompiler.CCompiler
add_link_object(self, object) from distutils.ccompiler.CCompiler
add_runtime_library_dir(self, dir) from distutils.ccompiler.CCompiler
announce(self, msg, level=1) from distutils.ccompiler.CCompiler
compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None)
create_static_lib(self, objects, output_libname, output_dir=None, debug=0)
debug_print(self, msg) from distutils.ccompiler.CCompiler
define_macro(self, name, value=None) from distutils.ccompiler.CCompiler
execute(self, func, args, msg=None, level=1) from distutils.ccompiler.CCompiler
find_library_file(self, dirs, lib, debug=0)
library_dir_option(self, dir)
library_filename(self, libname, lib_type='static', strip_dir=0, output_dir='') from distutils.ccompiler.CCompiler
library_option(self, lib)
link_executable(self, objects, output_progname, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, debug=0, extra_preargs=None, extra_postargs=None)
link_shared_lib(self, objects, output_libname, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None)
link_shared_object(self, objects, output_filename, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None)
mkpath(self, name, mode=511) from distutils.ccompiler.CCompiler
move_file(self, src, dst) from distutils.ccompiler.CCompiler
object_filenames(self, source_filenames, strip_dir=0, output_dir='') from distutils.ccompiler.CCompiler
preprocess(self, source, output_file=None, macros=None, include_dirs=None, extra_preargs=None, extra_postargs=None)
runtime_library_dir_option(self, dir)
set_executable(self, key, value) from distutils.ccompiler.CCompiler
set_executables(self, **args) from distutils.ccompiler.CCompiler
set_include_dirs(self, dirs) from distutils.ccompiler.CCompiler
set_libraries(self, libnames) from distutils.ccompiler.CCompiler
set_library_dirs(self, dirs) from distutils.ccompiler.CCompiler
set_link_objects(self, objects) from distutils.ccompiler.CCompiler
set_runtime_library_dirs(self, dirs) from distutils.ccompiler.CCompiler
shared_object_filename(self, basename, strip_dir=0, output_dir='') from distutils.ccompiler.CCompiler
spawn(self, cmd) from distutils.ccompiler.CCompiler
undefine_macro(self, name) from distutils.ccompiler.CCompiler
warn(self, msg) from distutils.ccompiler.CCompiler

 
Data
             BufferType = <type 'buffer'>
BuiltinFunctionType = <type 'builtin_function_or_method'>
BuiltinMethodType = <type 'builtin_function_or_method'>
ClassType = <type 'class'>
CodeType = <type 'code'>
ComplexType = <type 'complex'>
DictType = <type 'dictionary'>
DictionaryType = <type 'dictionary'>
EllipsisType = <type 'ellipsis'>
FileType = <type 'file'>
FloatType = <type 'float'>
FrameType = <type 'frame'>
FunctionType = <type 'function'>
InstanceType = <type 'instance'>
IntType = <type 'int'>
LambdaType = <type 'function'>
ListType = <type 'list'>
LongType = <type 'long int'>
MethodType = <type 'instance method'>
ModuleType = <type 'module'>
NoneType = <type 'None'>
SliceType = <type 'slice'>
StringType = <type 'string'>
TracebackType = <type 'traceback'>
TupleType = <type 'tuple'>
TypeType = <type 'type'>
UnboundMethodType = <type 'instance method'>
UnicodeType = <type 'unicode'>
XRangeType = <type 'xrange'>
__file__ = '/usr/lib/python1.6/distutils/unixccompiler.pyc'
__name__ = 'distutils.unixccompiler'
__revision__ = '$Id: unixccompiler.py,v 1.30 2000/08/04 01:28:39 gward Exp $'