mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Various clean up:
- prevent static python libraries to be installed in chapter 7 since it is not overwrittent in chapter 8 - have libstdc++-pass2 install its host specific headers into a host specific directory - clean the temporary compiler and the cros compiler at the end of chapter 8 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11992 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5a986cbf75
commit
25771c3063
@ -42,6 +42,24 @@
|
||||
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
<listitem>
|
||||
<para>2020-07-04</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[pierre] - Remove /tools and files containing
|
||||
{i686,x86_64}-lfs in their name at the end of chapter 8.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[pierre] - Add --host= to libstdc++-pass2, so that host
|
||||
specific headers are installed in a host specific directory.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[pierre] - Fix temporary Python so that static libraries
|
||||
are not installed.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<itemizedlist>
|
||||
<para>2020-07-01</para>
|
||||
|
@ -62,11 +62,12 @@ cd build</userinput></screen>
|
||||
|
||||
<para>Prepare libstdc++ for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">../libstdc++-v3/configure \
|
||||
CXXFLAGS="-g -O2 -D_GNU_SOURCE" \
|
||||
--prefix=/usr \
|
||||
--disable-multilib \
|
||||
--disable-nls \
|
||||
<screen><userinput remap="configure">../libstdc++-v3/configure \
|
||||
CXXFLAGS="-g -O2 -D_GNU_SOURCE" \
|
||||
--prefix=/usr \
|
||||
--disable-multilib \
|
||||
--disable-nls \
|
||||
--host=$(uname -m)-lfs-linux-gnu \
|
||||
--disable-libstdcxx-pch</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
@ -80,6 +81,15 @@ cd build</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--host=$(uname -m)-lfs-linux-gnu</parameter></term>
|
||||
<listitem>
|
||||
<para>We have to mimic what would happen if this package were built
|
||||
as part of a full compiler build. This switch would be passed to
|
||||
configure by GCC's build machinery.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--disable-libstdcxx-pch</parameter></term>
|
||||
<listitem>
|
||||
|
@ -52,11 +52,20 @@
|
||||
|
||||
<para>Prepare Python for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen>
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--without-ensurepip</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure option:</title>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-shared</parameter></term>
|
||||
<listitem>
|
||||
<para>This switch prevents installation of static libraries.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--without-ensurepip</parameter></term>
|
||||
<listitem>
|
||||
|
@ -62,6 +62,19 @@ rm -f /usr/lib/libz.a</userinput></screen>
|
||||
url="&blfs-book;/introduction/la-files.html">BLFS section "About Libtool
|
||||
Archive (.la) files"</ulink>.</para>
|
||||
|
||||
<para>The compiler built in <xref linkend="chapter-temporary-tools"/> and
|
||||
<xref linkend="chapter-chroot-temporary-tools"/> is still partially
|
||||
installed, and not needed anymore. Remove it with:</para>
|
||||
|
||||
<screen><userinput>find /usr/{bin,lib,libexec,include} \
|
||||
-depth \
|
||||
-name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen>
|
||||
|
||||
<para>The <filename class="directory">/tools</filename> directory can also
|
||||
be removed to further gain some place:</para>
|
||||
|
||||
<screen><userinput>rm -rf /tools</userinput></screen>
|
||||
|
||||
<para>Finally, remove the temporary 'tester' user account created at the
|
||||
beginning of the previous chapter.</para>
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
<!ENTITY version "SVN-20200701">
|
||||
<!ENTITY version "SVN-20200704">
|
||||
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
|
||||
Change to x.y for release but not -rc releases -->
|
||||
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
|
||||
|
||||
<!ENTITY versiond "20200701-systemd">
|
||||
<!ENTITY versiond "20200704-systemd">
|
||||
<!ENTITY short-versiond "systemd">
|
||||
<!ENTITY generic-versiond "systemd">
|
||||
|
||||
<!ENTITY releasedate "July 1st, 2020">
|
||||
<!ENTITY releasedate "July 4th, 2020">
|
||||
|
||||
<!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user