[lfs] 01/01: Merge branch 'trunk' into multilib

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch multilib
in repository lfs.

commit e1cff5ab7532988b48e60a13e53e4a40d0035bc9
Merge: 955d389a6 09d0e04da
Author: Thomas Trepl <[email protected]>
AuthorDate: Sun Sep 7 06:41:20 2025 +0200

    Merge branch 'trunk' into multilib

 appendices/dependencies.xml |  43 ++++++++++++-
 chapter01/changelog.xml     |   6 +-
 chapter01/whatsnew.xml      |   1 +
 chapter03/packages.xml      |  24 ++++++++
 chapter08/chapter08.xml     |   1 +
 chapter08/gcc.xml           |  34 +++++++++--
 chapter08/sqlite.xml        | 144 ++++++++++++++++++++++++++++++++++++++++++++
 lfs-latest-git.php          |  13 ++++
 packages.ent                |  14 +++++
 prologue/why.xml            |   7 +++
 10 files changed, 281 insertions(+), 6 deletions(-)

diff --cc chapter08/gcc.xml
index e4cfd1256,9a9be3ed3..b5ee938f4
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@@ -81,26 -68,21 +81,36 @@@ cd       build</userinput></screen
               --disable-bootstrap      \
               --disable-fixincludes    \
               --with-system-zlib</userinput></screen>
 +<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure" 
 +  arch="ml_32" >mlist=m64,m32</userinput><userinput remap="configure"
 +  arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
 +  arch="ml_all">mlist=m64,m32,mx32</userinput>
 +<userinput remap="configure">../configure --prefix=/usr               \
 +             LD=ld                       \
 +             --enable-languages=c,c++    \
 +             --enable-default-pie        \
 +             --enable-default-ssp        \
 +             --enable-host-pie           \
 +             --enable-multilib           \
 +             --with-multilib-list=$mlist \
 +             --disable-bootstrap         \
 +             --disable-fixincludes       \
 +             --with-system-zlib</userinput></screen>
  
-     <para>GCC supports seven different computer languages, but the
-     prerequisites for most of them have not yet been installed. See the
-     <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
-     for instructions on how to build all of GCC's supported languages.</para>
+     <para>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
+     <literal>cobol</literal> for Cobol (note that it will cause GCC fail
+     to build on a 32-bit LFS system),
+     <literal>fortran</literal> for Fortran,
+     <literal>go</literal> for Go,
+     <literal>objc</literal> for Objective C,
+     <literal>obj-c++</literal> for Objective C++, and/or
+     <literal>m2</literal> for Modula 2 into the value of
+     <parameter>--enable-languages</parameter> 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.</para>
  
      <variablelist>
        <title>The meaning of the new configure parameters:</title>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.