|
45 | 45 |
|
46 | 46 | <ol>
|
47 | 47 | <li>you really, really, really can't use the binaries we distribute</li>
|
48 |
| - <li>you need GCC to fix some of the header files on your system</li> |
49 | 48 | <li>you are an elite GCC hacker.</li>
|
50 | 49 | </ol>
|
51 | 50 |
|
|
59 | 58 | <!--=========================================================================-->
|
60 | 59 |
|
61 | 60 | <div class="doc_text">
|
62 |
| -<p>If you are building LLVM and the C front-end under Cygwin, please note that |
| 61 | +<p>If you are building LLVM and the GCC front-end under Cygwin, please note that |
63 | 62 | the LLVM and GCC makefiles do not correctly handle spaces in paths. To deal
|
64 | 63 | with this issue, make sure that your LLVM and GCC source and build trees are
|
65 | 64 | located in a top-level directory (like <tt>/cygdrive/c/llvm</tt> and
|
|
76 | 75 | <!--=========================================================================-->
|
77 | 76 |
|
78 | 77 | <div class="doc_text">
|
79 |
| -<p>If you are building LLVM and the C front-end under AIX, do NOT use GNU |
| 78 | +<p>If you are building LLVM and the GCC front-end under AIX, do NOT use GNU |
80 | 79 | Binutils. They are not stable under AIX and may produce incorrect and/or
|
81 | 80 | invalid code. Instead, use the system assembler and linker.
|
82 | 81 | </p>
|
|
121 | 120 | </pre></li>
|
122 | 121 |
|
123 | 122 |
|
124 |
| -<li><p>Configure, build, and install the C front-end:</p> |
| 123 | +<li><p>Configure, build, and install the GCC front-end:</p> |
125 | 124 |
|
126 | 125 | <p>
|
127 | 126 | <b>Linux/x86:</b><br>
|
|
176 | 175 | <ul>
|
177 | 176 | <li><p><b>Fix 1:</b> If you have system header files that include
|
178 | 177 | inline assembly, you may have to modify them to remove the inline
|
179 |
| - assembly, and install the modified versions in |
| 178 | + assembly and install the modified versions in |
180 | 179 | <code>$CFEINSTALL/lib/gcc/<i>target-triplet</i>/3.4-llvm/include</code>.</li>
|
181 | 180 |
|
182 | 181 | <li><b>Fix 2:</b> If you are building the C++ front-end on a CPU we
|
|
186 | 185 | and apply a patch so that it does not use inline assembly.</li>
|
187 | 186 | </ul>
|
188 | 187 |
|
189 |
| - <p><b>Porting to a new architecture:</b> If you are porting the new front-end |
190 |
| - to a new architecture, or compiling in a different configuration that we have |
191 |
| - previously, there are probably several changes you will have to make to the GCC |
192 |
| - target to get it to work correctly. These include:<p> |
| 188 | + <p><b>Porting to a new architecture:</b> If you are porting the front-end |
| 189 | + to a new architecture or compiling in a configuration that we have |
| 190 | + not tried previously, there are probably several changes you will have to make |
| 191 | + to the GCC target to get it to work correctly. These include:<p> |
193 | 192 |
|
194 | 193 | <ul>
|
195 | 194 | <li>Often targets include special assembler or linker flags which
|
|
216 | 215 |
|
217 | 216 | <li><p>Go back into the LLVM source tree proper. Rerun configure, using
|
218 | 217 | the <code>--with-llvmgccdir=$CFEINSTALL</code> option to specify the path
|
219 |
| -to the newly built C front-end.</p></li> |
| 218 | +to the newly built GCC front-end.</p></li> |
220 | 219 |
|
221 | 220 | <li><p>If you edited header files during the C/C++ front-end build as
|
222 | 221 | described in "Fix 1" above, you must now copy those header files from
|
|
228 | 227 |
|
229 | 228 | <li><p>Rebuild your CVS tree. This shouldn't cause the whole thing to be
|
230 | 229 | rebuilt, but it should build the runtime libraries. After the tree is
|
231 |
| - built, install the runtime libraries into your C front-end build tree. |
| 230 | + built, install the runtime libraries into your GCC front-end build tree. |
232 | 231 | These are the commands you need.</p>
|
233 | 232 | <pre>
|
234 | 233 | % gmake
|
|
255 | 254 | following means:</p>
|
256 | 255 | <ul>
|
257 | 256 | <li> compiling and running a "hello, LLVM" program in C and C++.</li>
|
258 |
| - <li> running the tests under <tt>test/Programs</tt> using <code>gmake -C |
259 |
| - test/Programs</code></li> |
| 257 | + <li> running the regression tests in <tt>llvm/test</tt> |
| 258 | + <li> running the tests found in the <tt>llvm-test</tt> CVS module</li> |
260 | 259 | </ul></li>
|
261 | 260 | </ol>
|
262 | 261 | </div>
|
|
0 commit comments