mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Minor spacing and xml fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5b24cd9abe
commit
800f6ea095
@ -52,7 +52,7 @@
|
||||
|
||||
<para>First, fix a minor error noted on the upstream web page:</para>
|
||||
|
||||
<screen><userinput remap="pre"> sed -i 's/np + dn, qn/& - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen>
|
||||
<screen><userinput remap="pre">sed -i 's/np + dn, qn/& - dn/' mpn/generic/dcpi1_bdiv_q.c</userinput></screen>
|
||||
|
||||
|
||||
<para>Prepare GMP for compilation:</para>
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
<para>First, fix a small problem with a test script:</para>
|
||||
|
||||
<screen><userinput>sed -i 's/cp/#&/' tests/unibyte-bracket-expr</userinput></screen>
|
||||
<screen><userinput remap="pre">sed -i 's/cp/#&/' tests/unibyte-bracket-expr</userinput></screen>
|
||||
|
||||
<para>Prepare Grep for compilation:</para>
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
<ulink url="&blfs-root;view/svn/server/databases.html#db"/>.
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
|
||||
<screen><userinput remap="pre">sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
|
@ -154,11 +154,11 @@ export LC_ALL=C
|
||||
# Simple script to list version numbers of critical development tools
|
||||
|
||||
bash --version | head -n1 | cut -d" " -f2-4
|
||||
echo "/bin/sh -> `readlink -f /bin/sh`"
|
||||
echo "/bin/sh -> `readlink -f /bin/sh`"
|
||||
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
|
||||
bison --version | head -n1
|
||||
if [ -e /usr/bin/yacc ];
|
||||
then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
|
||||
then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
|
||||
else echo "yacc not found"; fi
|
||||
bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
|
||||
echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
|
||||
@ -166,7 +166,7 @@ diff --version | head -n1
|
||||
find --version | head -n1
|
||||
gawk --version | head -n1
|
||||
if [ -e /usr/bin/awk ];
|
||||
then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";
|
||||
then echo "/usr/bin/awk -$gt; `readlink -f /usr/bin/awk`";
|
||||
else echo "awk not found"; fi
|
||||
gcc --version | head -n1
|
||||
/lib/libc.so.6 | head -n1 | cut -d"," -f1
|
||||
@ -181,7 +181,7 @@ sed --version | head -n1
|
||||
tar --version | head -n1
|
||||
echo "Texinfo: `makeinfo --version | head -n1`"
|
||||
xz --version | head -n1
|
||||
echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
|
||||
echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
|
||||
if [ -x dummy ]; then echo "Compilation OK";
|
||||
else echo "Compilation failed"; fi
|
||||
rm -f dummy.c dummy
|
||||
|
Loading…
Reference in New Issue
Block a user