ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Distributing Python Modules
10. API Reference
10.3 distutils.unixccompiler -- Unix C Compiler

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Distributing Python Modules >> 10. API Reference
ActivePython 2.4 documentation

10.3 distutils.unixccompiler -- Unix C Compiler

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

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved