aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-05-02 22:49:48 +0800
committerXi Ruoyao <xry111@xry111.site>2023-05-02 22:49:48 +0800
commit9781ec5baeb533384f8f64063d6d386cfc199dec (patch)
tree0e12a0b4aac0d0f289d8111c35ac7b85e8f94896
parent050335d4bd4d2691e025fd970438b662861d105a (diff)
gcc: Document the meaning of --disable-fixincludes
-rw-r--r--chapter08/gcc.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index e89f7e468..bbef8643c 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -99,6 +99,17 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>--disable-fixincludes</parameter></term>
+ <listitem>
+ <para>By default, during the installation of GCC some system
+ headers would be <quote>fixed</quote> to be used with GCC. This
+ is not necessary for a modern Linux system, and potentionally
+ harmful if a package is reinstalled after installing GCC. This
+ switch prevents GCC from <quote>fixing</quote> the headers.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--with-system-zlib</parameter></term>
<listitem>
<para>This switch tells GCC to link to the system installed copy of