summaryrefslogtreecommitdiff
path: root/docs/GCCFEBuildInstrs.html
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-02-16 09:47:41 +0000
committerDuncan Sands <baldrick@free.fr>2008-02-16 09:47:41 +0000
commit17bcde9f9b18e1076a9f20d1dcd3b4a8e9985352 (patch)
tree4ecbaf22a152d5a2fc74e30aa2dc56bec499ec20 /docs/GCCFEBuildInstrs.html
parent559f4224d634579aa2ca7ec6a59e67db14038c9d (diff)
downloadllvm-17bcde9f9b18e1076a9f20d1dcd3b4a8e9985352.tar.gz
llvm-17bcde9f9b18e1076a9f20d1dcd3b4a8e9985352.tar.bz2
llvm-17bcde9f9b18e1076a9f20d1dcd3b4a8e9985352.tar.xz
Try to clarify which compilers can be used for the
build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GCCFEBuildInstrs.html')
-rw-r--r--docs/GCCFEBuildInstrs.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/GCCFEBuildInstrs.html b/docs/GCCFEBuildInstrs.html
index 289bda304e..0c675340cb 100644
--- a/docs/GCCFEBuildInstrs.html
+++ b/docs/GCCFEBuildInstrs.html
@@ -92,12 +92,13 @@ top-level <tt>README.LLVM</tt> file, adding ",ada" to EXTRALANGS, for example:
systems without some work.</p></li>
<li><p>The build requires having a compiler that supports Ada, C and C++.
The Ada front-end is written in Ada so an Ada compiler is needed to
- build it. What is more, the Ada compiler must not be more recent
- than what it is trying to compile, otherwise the build will fail.
- This rules out gcc-4.3 (but not gcc-4.2) and also the
- <a href="http://libre.adacore.com/">2007 GNAT GPL Edition</a>.
- The LLVM parts of llvm-gcc are written in C++ so a C++
- compiler is needed to build them. The rest of gcc is written in C.
+ build it. Appropriate Ada compilers are gcc-4.2 (or earlier) or the
+ <a href="http://libre.adacore.com/">2006 GNAT GPL Edition</a>
+ (or earlier). As a general rule, the Ada compiler used for the
+ build must not be more recent than the Ada compiler it is building.
+ This is why the build fails with gcc-4.3 and the 2007 GNAT GPL Edition.
+ The LLVM parts of llvm-gcc are written in C++ so a C++ compiler is
+ needed to build them. The rest of gcc is written in C.
Some linux distributions provide a version of gcc that supports all
three languages (the Ada part often comes as an add-on package to
the rest of gcc). Otherwise it is possible to combine two versions