|
@@ -16,7 +16,7 @@ that it can't read the file, so we simply create an empty file (the empty file
|
|
will have Glibc default to using /lib and /usr/lib which is fine
|
|
will have Glibc default to using /lib and /usr/lib which is fine
|
|
right now).</para>
|
|
right now).</para>
|
|
|
|
|
|
-<para><userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/
|
|
|
|
|
|
+<para><userinput>sed 's|$(PERL)|/usr/bin/perl|'
|
|
../glibc-2.2.3/malloc/Makefile > tmp~:</userinput> This sed command
|
|
../glibc-2.2.3/malloc/Makefile > tmp~:</userinput> This sed command
|
|
searches through <filename>../glibc-2.2.3/malloc/Makefile</filename> and
|
|
searches through <filename>../glibc-2.2.3/malloc/Makefile</filename> and
|
|
converts all occurances of <filename>$(PERL)</filename> to
|
|
converts all occurances of <filename>$(PERL)</filename> to
|
|
@@ -31,7 +31,7 @@ Glibc.</para>
|
|
when using sed, we can't write straight back to this file so we need to
|
|
when using sed, we can't write straight back to this file so we need to
|
|
use a temporary file in between.</para>
|
|
use a temporary file in between.</para>
|
|
|
|
|
|
-<para><userinput>sed "s/root/0" ../glibc-2.2.3/login/Makefile >
|
|
|
|
|
|
+<para><userinput>sed 's/root/0' ../glibc-2.2.3/login/Makefile >
|
|
tmp~:</userinput> This sed command replaces all occurances of
|
|
tmp~:</userinput> This sed command replaces all occurances of
|
|
<filename>root</filename> in
|
|
<filename>root</filename> in
|
|
<filename>../glibc-2.2.3/login/Makefile</filename> with 0. This is
|
|
<filename>../glibc-2.2.3/login/Makefile</filename> with 0. This is
|
|
@@ -46,7 +46,7 @@ edited Makefile and then copying it back over the original.</para>
|
|
<para><userinput>--enable-add-ons:</userinput> This enables the add-on that
|
|
<para><userinput>--enable-add-ons:</userinput> This enables the add-on that
|
|
we install with Glibc: linuxthreads</para>
|
|
we install with Glibc: linuxthreads</para>
|
|
|
|
|
|
-<para><userinput>sed s/"cross-compiling = yes"/"cross-compiling = no"/
|
|
|
|
|
|
+<para><userinput>sed 's/cross-compiling = yes/cross-compiling = no/'
|
|
config.make > config.make~:</userinput> This time, we're replacing
|
|
config.make > config.make~:</userinput> This time, we're replacing
|
|
<filename>cross-compiling = yes</filename> with
|
|
<filename>cross-compiling = yes</filename> with
|
|
<filename>cross-compiling = no</filename>. We do this because we are
|
|
<filename>cross-compiling = no</filename>. We do this because we are
|