mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Small entity cleanups.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3182 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5618bb7f5a
commit
d962702a7c
@ -36,7 +36,7 @@ achieve this easily, you could do something like:
|
||||
|
||||
<para>Now prepare Binutils for compilation:</para>
|
||||
|
||||
<screen><userinput>../binutils-&binutils-version;/configure \
|
||||
<screen><userinput>../&binutils-dir;/configure \
|
||||
--prefix=/tools --disable-nls</userinput></screen>
|
||||
|
||||
<para>The meaning of the configure options:</para>
|
||||
|
@ -21,7 +21,7 @@ cd ../binutils-build</userinput></screen>
|
||||
|
||||
<para>Now prepare Binutils for compilation:</para>
|
||||
|
||||
<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
|
||||
<screen><userinput>../&binutils-dir;/configure --prefix=/tools \
|
||||
--enable-shared --with-lib-path=/tools/lib</userinput></screen>
|
||||
|
||||
<para>The meaning of the new configure option:</para>
|
||||
|
@ -32,7 +32,7 @@ cd ../gcc-build</userinput></screen>
|
||||
|
||||
<para>Prepare GCC for compilation:</para>
|
||||
|
||||
<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
|
||||
<screen><userinput>../&gcc-dir;/configure --prefix=/tools \
|
||||
--with-local-prefix=/tools \
|
||||
--disable-nls --enable-shared \
|
||||
--enable-languages=c</userinput></screen>
|
||||
|
@ -37,7 +37,7 @@ get PTYs working.</para>
|
||||
<para>This time we will build both the C and the C++ compilers, so you'll have
|
||||
to 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>
|
||||
<filename>&gcc-dir;/</filename> subdirectory.</para>
|
||||
|
||||
<para>First correct one problem and make an essential adjustment:</para>
|
||||
|
||||
@ -77,7 +77,7 @@ variables that override the default optimization flags.</para>
|
||||
|
||||
<para>Now prepare GCC for compilation:</para>
|
||||
|
||||
<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
|
||||
<screen><userinput>../&gcc-dir;/configure --prefix=/tools \
|
||||
--with-local-prefix=/tools \
|
||||
--enable-clocale=gnu --enable-shared \
|
||||
--enable-threads=posix --enable-__cxa_atexit \
|
||||
@ -128,7 +128,7 @@ through to completion and not stop at the first failure. The GCC test suite is
|
||||
very comprehensive and is almost guaranteed to generate a few failures. To get
|
||||
a summary of the test suite results, run this:</para>
|
||||
|
||||
<screen><userinput>../gcc-&gcc-version;/contrib/test_summary | more</userinput></screen>
|
||||
<screen><userinput>../&gcc-dir;/contrib/test_summary | more</userinput></screen>
|
||||
|
||||
<para>You can compare your results to those posted to the gcc-testresults
|
||||
mailing list for similar configurations to your own. For an example of how
|
||||
|
@ -49,7 +49,7 @@ cd ../binutils-build</userinput></screen>
|
||||
|
||||
<para>Now prepare Binutils for compilation:</para>
|
||||
|
||||
<screen><userinput>../binutils-&binutils-version;/configure \
|
||||
<screen><userinput>../&binutils-dir;/configure \
|
||||
--prefix=/usr --enable-shared</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
@ -79,7 +79,7 @@ doubts.</para>
|
||||
<para>Install the <emphasis>libiberty</emphasis> header file that is needed by
|
||||
some packages:</para>
|
||||
|
||||
<screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
|
||||
<screen><userinput>cp ../&binutils-dir;/include/libiberty.h /usr/include</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -24,7 +24,7 @@ cd ../e2fsprogs-build</userinput></screen>
|
||||
|
||||
<para>Prepare E2fsprogs for compilation:</para>
|
||||
|
||||
<screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
|
||||
<screen><userinput>../&e2fsprogs-dir;/configure --prefix=/usr --with-root-prefix="" \
|
||||
--enable-elf-shlibs</userinput></screen>
|
||||
|
||||
<para>The meaning of the configure options:</para>
|
||||
|
@ -59,7 +59,7 @@ cd ../gcc-2-build</userinput></screen>
|
||||
|
||||
<para>Compile and install the compiler:</para>
|
||||
|
||||
<screen><userinput>../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \
|
||||
<screen><userinput>../&gcc-2953-dir;/configure --prefix=/opt/&gcc-2953-dir; \
|
||||
--enable-shared --enable-languages=c \
|
||||
--enable-threads=posix
|
||||
make bootstrap
|
||||
|
@ -58,7 +58,7 @@ cd ../gcc-build</userinput></screen>
|
||||
|
||||
<para>Now prepare GCC for compilation:</para>
|
||||
|
||||
<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
|
||||
<screen><userinput>../&gcc-dir;/configure --prefix=/usr \
|
||||
--enable-shared --enable-threads=posix \
|
||||
--enable-__cxa_atexit --enable-clocale=gnu \
|
||||
--enable-languages=c,c++</userinput></screen>
|
||||
|
@ -2,8 +2,8 @@
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
"/usr/share/docbook/docbookx.dtd" [
|
||||
|
||||
<!ENTITY version "CVS-2004-01-21">
|
||||
<!ENTITY releasedate "January 21st, 2004">
|
||||
<!ENTITY version "CVS-2004-01-22">
|
||||
<!ENTITY releasedate "January 22nd, 2004">
|
||||
<!ENTITY milestone "5.1">
|
||||
<!ENTITY nbsp " ">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user