diff options
Diffstat (limited to 'chapter06/adjusting.xml')
-rw-r--r-- | chapter06/adjusting.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml index 0ea4f92ef..64767b25f 100644 --- a/chapter06/adjusting.xml +++ b/chapter06/adjusting.xml @@ -55,6 +55,9 @@ readelf -l a.out | grep ': /lib'</userinput></screen> <para>Note that <filename class="directory">/lib</filename> is now the prefix of our dynamic linker.</para> + <note><para>On 64-bit systems the interpreter should be + /lib64/ld-linux-x86-64.so.2.</para></note> + <para os="d">Now make sure that we're setup to use the correct start files:</para> <screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen> @@ -65,6 +68,11 @@ readelf -l a.out | grep ': /lib'</userinput></screen> /usr/lib/crti.o succeeded /usr/lib/crtn.o succeeded</computeroutput></screen> + <note><para>On 64-bit systems, the path above will be + /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/. This + reduces to /usr/lib64 and /usr/lib64 is a symlink that points to + /usr/lib.</para></note> + <para os="g">Verify that the compiler is searching for the correct header files:</para> |