IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
11.3 distutils.unixccompiler -- Unix C Compiler

11.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.