mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Updated to current versions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@685 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
db6cd3f71a
commit
84479a6efd
@ -8,16 +8,11 @@ Install GCC by running the following commands:
|
||||
<blockquote><literallayout>
|
||||
<userinput>mkdir $LFS/usr/src/gcc-build &&</userinput>
|
||||
<userinput>cd $LFS/usr/src/gcc-build &&</userinput>
|
||||
<userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
|
||||
<userinput> --with-gxx-include-dir=/usr/include/g++
|
||||
\</userinput>
|
||||
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
|
||||
<userinput> --enable-languages=c,c++ --disable-nls
|
||||
&&</userinput>
|
||||
<userinput>make -e LDFLAGS=-static bootstrap &&</userinput>
|
||||
<userinput>make prefix=$LFS/usr local_prefix=$LFS/usr/local
|
||||
\</userinput>
|
||||
<userinput> gxx_include_dir=$LFS/usr/include/g++
|
||||
install &&</userinput>
|
||||
<userinput>make prefix=$LFS/usr install &&</userinput>
|
||||
<userinput>cd $LFS/lib &&</userinput>
|
||||
<userinput>ln -s ../usr/bin/cpp
|
||||
&&</userinput>
|
||||
|
@ -14,6 +14,8 @@ The kernel configuration file is created by running the following command:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
<userinput>patch -Np1 -i ../linux-&kernel-version;.patch
|
||||
&&</userinput>
|
||||
<userinput>make mrproper &&</userinput>
|
||||
<userinput>yes "" | make config &&</userinput>
|
||||
<userinput>make dep &&</userinput>
|
||||
|
@ -6,6 +6,8 @@ Install Texinfo by running the following commands:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
<userinput>patch -Np1 -i ../texinfo-&texinfo-version;.patch
|
||||
&&</userinput>
|
||||
<userinput>./configure --prefix=$LFS/usr
|
||||
--disable-nls &&</userinput>
|
||||
<userinput>make LDFLAGS=-static &&</userinput>
|
||||
|
@ -7,8 +7,7 @@ Install Bin86 by running the following commands:
|
||||
|
||||
<blockquote><literallayout>
|
||||
<userinput>make &&</userinput>
|
||||
<userinput>make INSTALL_OPTS="-m 755"
|
||||
PREFIX=/usr install</userinput>
|
||||
<userinput>make PREFIX=/usr install</userinput>
|
||||
</literallayout></blockquote>
|
||||
|
||||
</sect2>
|
||||
|
@ -2,7 +2,6 @@
|
||||
<title>Installing Bin86</title>
|
||||
|
||||
&c6-bin86-inst;
|
||||
&c6-bin86-exp;
|
||||
&aa-bin86-desc;
|
||||
|
||||
</sect1>
|
||||
|
@ -8,11 +8,11 @@ Install GCC by running the following commands:
|
||||
<blockquote><literallayout>
|
||||
<userinput>mkdir /usr/src/gcc-build &&</userinput>
|
||||
<userinput>cd /usr/src/gcc-build &&</userinput>
|
||||
<userinput>../gcc-2.95.2.1/configure --prefix=/usr \</userinput>
|
||||
<userinput> --with-gxx-include-dir=/usr/include/g++
|
||||
\</userinput>
|
||||
<userinput> --enable-shared
|
||||
--enable-languages=c,c++ &&</userinput>
|
||||
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
|
||||
<userinput> --with-slibdir=/lib
|
||||
--enable-shared \</userinput>
|
||||
<userinput> --enable-languages=c,c++
|
||||
&&</userinput>
|
||||
<userinput>make bootstrap &&</userinput>
|
||||
<userinput>make install</userinput>
|
||||
</literallayout></blockquote>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<title>Installation of Glibc</title>
|
||||
|
||||
<para>
|
||||
Unpack the glibc-linuxthreads in the glibc-2.2.1 directory, not in
|
||||
Unpack the glibc-linuxthreads in the glibc-&glibc-version; directory, not in
|
||||
/usr/src.
|
||||
</para>
|
||||
|
||||
@ -16,15 +16,15 @@ Install Glibc by running the following commands:
|
||||
<userinput>mkdir /usr/src/glibc-build &&</userinput>
|
||||
<userinput>cd /usr/src/glibc-build &&</userinput>
|
||||
<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
|
||||
<userinput> ../glibc-2.2.1/malloc/Makefile
|
||||
<userinput> ../glibc-&glibc-version;/malloc/Makefile
|
||||
> tmp~ &&</userinput>
|
||||
<userinput>mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
|
||||
<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &&
|
||||
</userinput>
|
||||
<userinput>sed "s/root/0/" ../glibc-2.2.1/login/Makefile
|
||||
<userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile
|
||||
> tmp~ && </userinput>
|
||||
<userinput>mv tmp~ ../glibc-2.2.1/login/Makefile &&
|
||||
<userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile &&
|
||||
</userinput>
|
||||
<userinput>../glibc-2.2.1/configure \</userinput>
|
||||
<userinput>../glibc-&glibc-version;/configure \</userinput>
|
||||
<userinput> --prefix=/usr --enable-add-ons
|
||||
\</userinput>
|
||||
<userinput> --libexecdir=/usr/bin &&
|
||||
|
@ -6,7 +6,8 @@ Install Groff by running the following commands:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
<userinput>./configure --prefix=/usr &&</userinput>
|
||||
<userinput>CXXFLAGS=-Dstrerror=strerror ./configure --prefix=/usr
|
||||
&&</userinput>
|
||||
<userinput>make &&</userinput>
|
||||
<userinput>make install</userinput>
|
||||
</literallayout></blockquote>
|
||||
|
@ -6,6 +6,8 @@ Install Ncurses by running the following commands:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
<userinput>patch -Np1 -i ../ncurses-&ncurses-version;.patch
|
||||
&&</userinput>
|
||||
<userinput>./configure --prefix=/usr --libdir=/lib \</userinput>
|
||||
<userinput> --with-shared
|
||||
--disable-termcap &&</userinput>
|
||||
|
@ -6,6 +6,8 @@ Install Texinfo by running the following commands:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
<userinput>patch -Np1 -i ../texinfo-&texinfo-version;.patch
|
||||
&&</userinput>
|
||||
<userinput>./configure --prefix=/usr &&</userinput>
|
||||
<userinput>make &&</userinput>
|
||||
<userinput>make install &&</userinput>
|
||||
|
Loading…
Reference in New Issue
Block a user