Skip to content

Commit 13e0bb8

Browse files
author
John Criswell
committed
The test/Programs suite is now in llvm-test.
Rename C frontend to GCC frontend to be consistent with other docs and to help people understand that it's "just not a C compiler." llvm-svn: 18667
1 parent 1c8ba66 commit 13e0bb8

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

llvm/docs/CFEBuildInstrs.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
<ol>
4747
<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>
4948
<li>you are an elite GCC hacker.</li>
5049
</ol>
5150

@@ -59,7 +58,7 @@
5958
<!--=========================================================================-->
6059

6160
<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
6362
the LLVM and GCC makefiles do not correctly handle spaces in paths. To deal
6463
with this issue, make sure that your LLVM and GCC source and build trees are
6564
located in a top-level directory (like <tt>/cygdrive/c/llvm</tt> and
@@ -76,7 +75,7 @@
7675
<!--=========================================================================-->
7776

7877
<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
8079
Binutils. They are not stable under AIX and may produce incorrect and/or
8180
invalid code. Instead, use the system assembler and linker.
8281
</p>
@@ -121,7 +120,7 @@
121120
</pre></li>
122121

123122

124-
<li><p>Configure, build, and install the C front-end:</p>
123+
<li><p>Configure, build, and install the GCC front-end:</p>
125124

126125
<p>
127126
<b>Linux/x86:</b><br>
@@ -176,7 +175,7 @@
176175
<ul>
177176
<li><p><b>Fix 1:</b> If you have system header files that include
178177
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
180179
<code>$CFEINSTALL/lib/gcc/<i>target-triplet</i>/3.4-llvm/include</code>.</li>
181180

182181
<li><b>Fix 2:</b> If you are building the C++ front-end on a CPU we
@@ -186,10 +185,10 @@
186185
and apply a patch so that it does not use inline assembly.</li>
187186
</ul>
188187

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>
193192

194193
<ul>
195194
<li>Often targets include special assembler or linker flags which
@@ -216,7 +215,7 @@
216215

217216
<li><p>Go back into the LLVM source tree proper. Rerun configure, using
218217
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>
220219

221220
<li><p>If you edited header files during the C/C++ front-end build as
222221
described in "Fix 1" above, you must now copy those header files from
@@ -228,7 +227,7 @@
228227

229228
<li><p>Rebuild your CVS tree. This shouldn't cause the whole thing to be
230229
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.
232231
These are the commands you need.</p>
233232
<pre>
234233
% gmake
@@ -255,8 +254,8 @@
255254
following means:</p>
256255
<ul>
257256
<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>
260259
</ul></li>
261260
</ol>
262261
</div>

0 commit comments

Comments
 (0)