From 17bcde9f9b18e1076a9f20d1dcd3b4a8e9985352 Mon Sep 17 00:00:00 2001
From: Duncan Sands
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 - 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. + build it. Appropriate Ada compilers are gcc-4.2 (or earlier) or the + 2006 GNAT GPL Edition + (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 -- 2.34.1