From b28a98b4af22f8f8c5d760698fef39f59b2afb1f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 2 Jun 2026 19:23:03 +0800 Subject: [PATCH] gcc: adjust the words of languages with external dependencies per Rainer's suggestion. --- chapter08/gcc.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 185037762..854ddf202 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -77,18 +77,20 @@ cd build We only enable C and C++ here to save the build time as no packages in LFS and BLFS require GCC to compile other languages. Append - cobol for Cobol (note that it will cause GCC fail - to build on a 32-bit LFS system), + algol68 for Algol 68, fortran for Fortran, go for Go, objc for Objective C, obj-c++ for Objective C++, and/or m2 for Modula 2 into the value of --enable-languages option if you want to compile - programs in one or more of those languages with GCC. GCC also supports - Ada and D, but the code to support Ada or D is written in Ada or D - itself, so the support can only be built with an existing Ada or D - compiler installation and we cannot enable the support here. + programs in one or more of those languages with GCC. + + GCC also supports the Ada, COBOL, and D languages. But that would + require some dependencies which are not available in the base LFS system + and would exceed the scope of this book. Read + the upstream + documentation for details. The meaning of the new configure parameters: