diff options
-rw-r--r-- | chapter08/gcc.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 65f502dde..c5c446e9a 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -227,11 +227,11 @@ readelf -l a.out | grep ': /lib'</userinput></screen> <para>Now make sure that we're setup to use the correct start files:</para> -<screen><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen> +<screen><userinput>grep -E -o '/usr/lib.*/S?crt[1in].*succeeded' dummy.log</userinput></screen> <para>The output of the last command should be:</para> -<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded +<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/Scrt1.o succeeded /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen> |