aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-exp.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-08-25 00:13:05 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-08-25 00:13:05 +0000
commitf065b08913c6c5161b51175ac14a0e45dd388c8b (patch)
treeaca8c67af3df18a30ef9e5ed97b40e85c0e6b65a /chapter05/gcc-exp.xml
parent06596602b6719866e22245bfab57a1064bb5f5d0 (diff)
changed -e LDFLAGS=-static to BOOT_LDFLAGS=-static and removed -e
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1022 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-exp.xml')
-rw-r--r--chapter05/gcc-exp.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml
index b38c62086..1aeecadff 100644
--- a/chapter05/gcc-exp.xml
+++ b/chapter05/gcc-exp.xml
@@ -1,11 +1,15 @@
<sect2>
<title>Command explanations</title>
-<para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch :</userinput>
+<para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput>
This new patch deals with incorrect handling of weak symbols, the
over-optimization of calls to those weak symbols, an atexit issue and
the __dso_handle symbol required for atexit's proper function.</para>
+<para><userinput>make BOOT_LDFLAGS=-static:</userinput>
+This is the equivalent to make LDFLAGS=-static as we use with other
+packages to compile them statically.</para>
+
<para><userinput>--prefix=/usr:</userinput> This is NOT a typo. GCC hard
codes some paths while compiling and so we need to pass /usr as the
prefix during ./configure. We pass the real install prefix during the