X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FGCCFEBuildInstrs.html;h=b675ee76a7cb7f675eece4b5f7866381947734bf;hb=9e6d1d1f5034347d237941f1bf08fba5c1583cd3;hp=8de21f800731f3557a4db55c390be562efea83b1;hpb=b0fa430e1f8e29ea2b5f66f5eaaf5d57994de62e;p=oota-llvm.git diff --git a/docs/GCCFEBuildInstrs.html b/docs/GCCFEBuildInstrs.html index 8de21f80073..b675ee76a7c 100644 --- a/docs/GCCFEBuildInstrs.html +++ b/docs/GCCFEBuildInstrs.html @@ -84,10 +84,11 @@ top-level README.LLVM file, adding ",ada" to EXTRALANGS, for example:
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. Compilers known to work with the - LLVM 2.4 release + LLVM 2.5 release are gcc-4.2 and the 2005, 2006 and 2007 versions of the GNAT GPL Edition. + GNAT GPL 2008, gcc-4.3 and later will not work. 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 @@ -100,6 +101,11 @@ top-level README.LLVM file, adding ",ada" to EXTRALANGS, for example: compiler with checking enabled. This causes it to run much slower, but helps catch mistakes in the compiler (please report any problems using LLVM bugzilla).
The Ada front-end fails to + bootstrap, due to lack of LLVM support for + setjmp/longjmp style exception handling (used + internally by the compiler), so you must specify + --disable-bootstrap.
Supposing appropriate compilers are available, llvm-gcc with Ada support can @@ -110,9 +116,9 @@ top-level README.LLVM file, adding ",ada" to EXTRALANGS, for example: and unpack it:
-wget http://llvm.org/releases/2.4/llvm-2.4.tar.gz -tar xzf llvm-2.4.tar.gz -mv llvm-2.4 llvm +wget http://llvm.org/releases/2.5/llvm-2.5.tar.gz +tar xzf llvm-2.5.tar.gz +mv llvm-2.5 llvm
or check out the @@ -127,9 +133,9 @@ mv llvm-2.4 llvm and unpack it:
-wget http://llvm.org/releases/2.4/llvm-gcc-4.2-2.4.source.tar.gz -tar xzf llvm-gcc-4.2-2.4.source.tar.gz -mv llvm-gcc4.2-2.4.source llvm-gcc-4.2 +wget http://llvm.org/releases/2.5/llvm-gcc-4.2-2.5.source.tar.gz +tar xzf llvm-gcc-4.2-2.5.source.tar.gz +mv llvm-gcc4.2-2.5.source llvm-gcc-4.2