diff options
-rw-r--r-- | chapter05/gcc-pass2-inst.xml | 3 | ||||
-rw-r--r-- | chapter05/toolchaintechnotes.xml | 12 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 2 | ||||
-rw-r--r-- | index.xml | 4 |
4 files changed, 9 insertions, 12 deletions
diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml index cde5cb609..7a7e90d38 100644 --- a/chapter05/gcc-pass2-inst.xml +++ b/chapter05/gcc-pass2-inst.xml @@ -24,9 +24,6 @@ are able to resolve the issue. You can consult the LFS Wiki at <ulink url="http://wiki.linuxfromscratch.org/"/> for more information on how to get PTYs working.</para> -<note><para>It's worth pointing out that the GCC test suite we run in this -section is considered not as important as the one we run in Chapter 6.</para></note> - <para>Unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the same working directory. They will all unfold into a single <filename>gcc-&gcc-version;/</filename> subdirectory.</para> diff --git a/chapter05/toolchaintechnotes.xml b/chapter05/toolchaintechnotes.xml index da97ef536..0b19468db 100644 --- a/chapter05/toolchaintechnotes.xml +++ b/chapter05/toolchaintechnotes.xml @@ -38,7 +38,7 @@ something completely different. You should be able to determine the name of your platform's dynamic linker by looking in the <filename class="directory">/lib</filename> directory on your host system. A surefire way is to inspect a random binary from your host system by running: -<userinput>`readelf -l <name of binary> | grep interpreter`</userinput> +<userinput>'readelf -l <name of binary> | grep interpreter'</userinput> and noting the output. The authoritative reference covering all platforms is in the <filename>shlib-versions</filename> file in the root of the Glibc source tree.</para> @@ -75,11 +75,11 @@ much time is wasted.</para> the tools in one location are hard linked to the other. An important facet of the linker is its library search order. Detailed information can be obtained from <userinput>ld</userinput> by passing it the <emphasis>--verbose</emphasis> -flag. For example: <userinput>`ld --verbose | grep SEARCH`</userinput> will +flag. For example: <userinput>'ld --verbose | grep SEARCH'</userinput> will show you the current search paths and their order. You can see what files are actually linked by <userinput>ld</userinput> by compiling a dummy program and passing the <emphasis>--verbose</emphasis> switch. For example: -<userinput>`gcc dummy.c -Wl,--verbose 2>&1 | grep succeeded`</userinput> +<userinput>'gcc dummy.c -Wl,--verbose 2>&1 | grep succeeded'</userinput> will show you all the files successfully opened during the link.</para> <para>The next package installed is GCC and during its run of @@ -93,10 +93,10 @@ that GCC's configure script does not search the $PATH directories to find which tools to use. However, during the actual operation of <userinput>gcc</userinput> itself, the same search paths are not necessarily used. You can find out which standard linker <userinput>gcc</userinput> will use by running: -<userinput>`gcc -print-prog-name=ld`</userinput>. +<userinput>'gcc -print-prog-name=ld'</userinput>. Detailed information can be obtained from <userinput>gcc</userinput> by passing it the <emphasis>-v</emphasis> flag while compiling a dummy program. For -example: <userinput>`gcc -v dummy.c`</userinput> will show you detailed +example: <userinput>'gcc -v dummy.c'</userinput> will show you detailed information about the preprocessor, compilation and assembly stages, including <userinput>gcc</userinput>'s include search paths and their order.</para> @@ -126,7 +126,7 @@ linker in <filename class="directory">/tools/lib</filename>. This last step is <emphasis>vital</emphasis> to the whole process. As mentioned above, a hard-wired path to a dynamic linker is embedded into every ELF shared executable. You can inspect this by running: -<userinput>`readelf -l <name of binary> | grep interpreter`</userinput>. +<userinput>'readelf -l <name of binary> | grep interpreter'</userinput>. By amending <userinput>gcc</userinput>'s specs file, we are ensuring that every program compiled from here through the end of Chapter 5 will use our new dynamic linker in <filename class="directory">/tools/lib</filename>.</para> diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index ad1b7dbf3..835df60b6 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -70,7 +70,7 @@ compiler. To satisfy those packages, create a symlink:</para> <screen><userinput>ln -s gcc /usr/bin/cc</userinput></screen> <note><para>At this point it is strongly recommended to repeat the sanity check -we performed in the previous chapter. Refer back to +we performed earlier in this chapter. Refer back to <xref linkend="ch06-adjustingtoolchain"/> and repeat the check. If the results are wrong, then most likely you erroneously applied the GCC Specs patch from Chapter 5.</para></note> @@ -3,8 +3,8 @@ "/usr/share/docbook/docbookx.dtd" [ -<!ENTITY version "20031009"> -<!ENTITY releasedate "October 9th, 2003"> +<!ENTITY version "20031012"> +<!ENTITY releasedate "October 12th, 2003"> <!ENTITY nbsp " "> <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> |