aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-static-exp.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-static-exp.sgml')
-rw-r--r--chapter05/gcc-static-exp.sgml24
1 files changed, 24 insertions, 0 deletions
diff --git a/chapter05/gcc-static-exp.sgml b/chapter05/gcc-static-exp.sgml
new file mode 100644
index 000000000..62639d914
--- /dev/null
+++ b/chapter05/gcc-static-exp.sgml
@@ -0,0 +1,24 @@
+<sect2>
+<title>Command explanations</title>
+
+<para>
+<userinput>--enable-languages=c,c++:</userinput> This only builds the C
+and C++ compilers and not the other available compilers as they are, on
+the average, not often used. If you do need those other compilers don't
+use the --enable-languages parameter.
+</para>
+
+<para>
+<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp:</userinput> This
+creates the $LFS/lib/cpp symlink. Some packages explicitely try to find
+cpp in /lib.
+</para>
+
+<para>
+<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp:</userinput> This
+creates the $LFS/usr/lib/cpp symlink as there are packages that expect
+cpp to be in /usr/lib.
+</para>
+
+</sect2>
+