This module provides 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 -llib
- 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
Release 2.4b2, documentation updated on 13 November 2004.
See About this document... for information on suggesting changes.