Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | <html> | |
3 | <head> | |
4 | <link rel="STYLESHEET" href="dist.css" type='text/css' /> | |
5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> | |
6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> | |
7 | <link rel="first" href="dist.html" title='Distributing Python Modules' /> | |
8 | <link rel='index' href='genindex.html' title='Index' /> | |
9 | <link rel='last' href='about.html' title='About this document...' /> | |
10 | <link rel='help' href='about.html' title='About this document...' /> | |
11 | <link rel="next" href="module-distutils.msvccompiler.html" /> | |
12 | <link rel="prev" href="module-distutils.ccompiler.html" /> | |
13 | <link rel="parent" href="api-reference.html" /> | |
14 | <link rel="next" href="module-distutils.msvccompiler.html" /> | |
15 | <meta name='aesop' content='information' /> | |
16 | <title>10.3 distutils.unixccompiler -- Unix C Compiler</title> | |
17 | </head> | |
18 | <body> | |
19 | <DIV CLASS="navigation"> | |
20 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> | |
21 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
22 | <tr> | |
23 | <td class='online-navigation'><a rel="prev" title="10.2 distutils.ccompiler " | |
24 | href="module-distutils.ccompiler.html"><img src='../icons/previous.png' | |
25 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
26 | <td class='online-navigation'><a rel="parent" title="10. API Reference" | |
27 | href="api-reference.html"><img src='../icons/up.png' | |
28 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
29 | <td class='online-navigation'><a rel="next" title="10.4 distutils.msvccompiler " | |
30 | href="module-distutils.msvccompiler.html"><img src='../icons/next.png' | |
31 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
32 | <td align="center" width="100%">Distributing Python Modules</td> | |
33 | <td class='online-navigation'><img src='../icons/blank.png' | |
34 | border='0' height='32' alt='' width='32' /></td> | |
35 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
36 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
37 | <td class='online-navigation'><a rel="index" title="Index" | |
38 | href="genindex.html"><img src='../icons/index.png' | |
39 | border='0' height='32' alt='Index' width='32' /></A></td> | |
40 | </tr></table> | |
41 | <div class='online-navigation'> | |
42 | <b class="navlabel">Previous:</b> | |
43 | <a class="sectref" rel="prev" href="module-distutils.ccompiler.html">10.2 distutils.ccompiler </A> | |
44 | <b class="navlabel">Up:</b> | |
45 | <a class="sectref" rel="parent" href="api-reference.html">10. API Reference</A> | |
46 | <b class="navlabel">Next:</b> | |
47 | <a class="sectref" rel="next" href="module-distutils.msvccompiler.html">10.4 distutils.msvccompiler </A> | |
48 | </div> | |
49 | <hr /></div> | |
50 | </DIV> | |
51 | <!--End of Navigation Panel--> | |
52 | ||
53 | <H1><A NAME="SECTION0010300000000000000000"> | |
54 | 10.3 <tt class="module">distutils.unixccompiler</tt> -- Unix C Compiler</A> | |
55 | </H1> | |
56 | <A NAME="module-distutils.unixccompiler"></A> | |
57 | ||
58 | <P> | |
59 | This module provides the <tt class="class">UnixCCompiler</tt> class, a subclass of | |
60 | <tt class="class">CCompiler</tt> that handles the typical <span class="Unix">Unix</span>-style command-line | |
61 | C compiler: | |
62 | ||
63 | <P> | |
64 | ||
65 | <UL> | |
66 | <LI>macros defined with <b class="programopt">-D<var>name</var><big>[</big>=value<big>]</big></b> | |
67 | </LI> | |
68 | <LI>macros undefined with <b class="programopt">-U<var>name</var></b> | |
69 | </LI> | |
70 | <LI>include search directories specified with | |
71 | <b class="programopt">-I<var>dir</var></b> | |
72 | </LI> | |
73 | <LI>libraries specified with <b class="programopt">-l<var>lib</var></b> | |
74 | </LI> | |
75 | <LI>library search directories specified with <b class="programopt">-L<var>dir</var></b> | |
76 | </LI> | |
77 | <LI>compile handled by <b class="program">cc</b> (or similar) executable with | |
78 | <b class="programopt">-c</b> option: compiles <span class="file">.c</span> to <span class="file">.o</span> | |
79 | </LI> | |
80 | <LI>link static library handled by <b class="program">ar</b> command (possibly | |
81 | with <b class="program">ranlib</b>) | |
82 | </LI> | |
83 | <LI>link shared library handled by <b class="program">cc</b> <b class="programopt">-shared</b> | |
84 | </LI> | |
85 | </UL> | |
86 | ||
87 | <P> | |
88 | ||
89 | <DIV CLASS="navigation"> | |
90 | <div class='online-navigation'> | |
91 | <p></p><hr /> | |
92 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> | |
93 | <tr> | |
94 | <td class='online-navigation'><a rel="prev" title="10.2 distutils.ccompiler " | |
95 | href="module-distutils.ccompiler.html"><img src='../icons/previous.png' | |
96 | border='0' height='32' alt='Previous Page' width='32' /></A></td> | |
97 | <td class='online-navigation'><a rel="parent" title="10. API Reference" | |
98 | href="api-reference.html"><img src='../icons/up.png' | |
99 | border='0' height='32' alt='Up One Level' width='32' /></A></td> | |
100 | <td class='online-navigation'><a rel="next" title="10.4 distutils.msvccompiler " | |
101 | href="module-distutils.msvccompiler.html"><img src='../icons/next.png' | |
102 | border='0' height='32' alt='Next Page' width='32' /></A></td> | |
103 | <td align="center" width="100%">Distributing Python Modules</td> | |
104 | <td class='online-navigation'><img src='../icons/blank.png' | |
105 | border='0' height='32' alt='' width='32' /></td> | |
106 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' | |
107 | border='0' height='32' alt='Module Index' width='32' /></a></td> | |
108 | <td class='online-navigation'><a rel="index" title="Index" | |
109 | href="genindex.html"><img src='../icons/index.png' | |
110 | border='0' height='32' alt='Index' width='32' /></A></td> | |
111 | </tr></table> | |
112 | <div class='online-navigation'> | |
113 | <b class="navlabel">Previous:</b> | |
114 | <a class="sectref" rel="prev" href="module-distutils.ccompiler.html">10.2 distutils.ccompiler </A> | |
115 | <b class="navlabel">Up:</b> | |
116 | <a class="sectref" rel="parent" href="api-reference.html">10. API Reference</A> | |
117 | <b class="navlabel">Next:</b> | |
118 | <a class="sectref" rel="next" href="module-distutils.msvccompiler.html">10.4 distutils.msvccompiler </A> | |
119 | </div> | |
120 | </div> | |
121 | <hr /> | |
122 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> | |
123 | </DIV> | |
124 | <!--End of Navigation Panel--> | |
125 | <ADDRESS> | |
126 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. | |
127 | </ADDRESS> | |
128 | </BODY> | |
129 | </HTML> |