Index: BOOK/final-system/chapter.xml
===================================================================
--- BOOK/final-system/chapter.xml (revision 573e70c74bd4b549a575bb70663b37f5f08c5726)
+++ BOOK/final-system/chapter.xml (revision dd92ea4acff9218126ed658d8a76b462c4db0c2a)
@@ -15,4 +15,5 @@
+
Index: BOOK/final-system/common/libgcc.xml
===================================================================
--- BOOK/final-system/common/libgcc.xml (revision dd92ea4acff9218126ed658d8a76b462c4db0c2a)
+++ BOOK/final-system/common/libgcc.xml (revision dd92ea4acff9218126ed658d8a76b462c4db0c2a)
@@ -0,0 +1,41 @@
+
+
+ %general-entities;
+]>
+
+
+
+
+ libgcc-&gcc-version;
+
+
+ libgcc
+ final system
+
+
+
+
+
+ When compiling dynamically linked software using GCC, GCC requires
+ that libgcc be able to be loaded during runtime when executing the
+ software. Hence, we must be sure to provide the final system with a copy
+ of the libgcc we previously built for our cross tools.
+
+
+
+
+ Installation of libgcc
+
+ Install the package:
+
+ cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/libgcc_s.so.1 ${CLFS}/targetfs/lib/
+
+ Strip libgcc to make it smaller:
+
+ ${CLFS_TARGET}-strip ${CLFS}/targetfs/lib/libgcc_s.so.1
+
+
+
+