Skip to content

Commit 8b83d1b

Browse files
author
John Criswell
committed
Added information on why someone would want to build the GCC front end.
Added a link to this information from the Getting Started Guide. Changed the word "wicked" to "elite." The original sounds much cooler, but I fear the PR police when I take off my tinfoil hat. llvm-svn: 9454
1 parent 188c951 commit 8b83d1b

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

llvm/docs/CFEBuildInstrs.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
C/C++ front-end, based on GCC 3.4, from source.</p>
1616

1717
<p><b>NOTE:</b> This is currently a somewhat fragile, error-prone
18-
process, and you should only try to do it if (A) you really, really,
19-
really can't use the binaries we distribute, and (B) you are a wicked
20-
good GCC hacker.</p>
18+
process, and you should only try to do it if
19+
<ul>
20+
<li>(A) you really, really, really can't use the binaries we distribute
21+
<li>(B) you need GCC to fix some of the header files on your system
22+
<li>(C) you are an elite GCC hacker.</p>
23+
</ul>
2124

2225
<p>We welcome patches to help make this process simpler.</p>
2326

llvm/docs/GettingStarted.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,18 @@ <h3><a name="installcf">Install the GCC Front End</a></h3>
407407
./fixheaders
408408
</tt>
409409

410+
<p>
411+
The binary versions of the GCC front end may not suit all of your needs.
412+
For example, the binary distribution may include an old version of a system
413+
header file, not "fix" a header file that needs to be fixed for GCC, or it
414+
may be linked with libraries not available on your system.
415+
</p>
416+
417+
<p>
418+
In cases like these, you may want to try
419+
<a href="CFEBuildInstrs.html">building the GCC front end from source.</a>
420+
This is not for the faint of heart, so be forewarned.
421+
</p>
410422
<!------------------------------------------------------------------------->
411423
<h3><a name="config">Local LLVM Configuration</a></h3>
412424
<!------------------------------------------------------------------------->

0 commit comments

Comments
 (0)