mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Remove unneeded confiugure switches from gcc.
Restore installation of udev-lfs support files. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10567 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
acbaccdc71
commit
8aa7fdeb1c
@ -35,6 +35,19 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>2014-05-19</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Remove unneeded configure switches from gcc. Fixes
|
||||
<ulink url="&lfs-ticket-root;3582">#3582</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Restore installation of udev-lfs support files.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2014-05-15</para>
|
||||
<itemizedlist>
|
||||
|
@ -129,17 +129,13 @@ cd ../gcc-build</userinput></screen>
|
||||
--disable-libatomic \
|
||||
--disable-libgomp \
|
||||
--disable-libitm \
|
||||
--disable-libmudflap \
|
||||
--disable-libquadmath \
|
||||
--disable-libsanitizer \
|
||||
--disable-libssp \
|
||||
--disable-libvtv \
|
||||
--disable-libcilkrts \
|
||||
--disable-libstdc++-v3 \
|
||||
--enable-languages=c,c++ \
|
||||
--with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
|
||||
--with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
|
||||
|
||||
--enable-languages=c,c++</userinput></screen>
|
||||
<variablelist>
|
||||
<title>The meaning of the configure options:</title>
|
||||
|
||||
@ -224,14 +220,6 @@ cd ../gcc-build</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-mpfr-*</parameter></term>
|
||||
<listitem>
|
||||
<para>These options enable the build system to correctly use the
|
||||
in-tree copy of the MPFR sources.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<para>Compile GCC by running:</para>
|
||||
|
@ -121,9 +121,7 @@ RANLIB=$LFS_TGT-ranlib \
|
||||
--disable-libstdcxx-pch \
|
||||
--disable-multilib \
|
||||
--disable-bootstrap \
|
||||
--disable-libgomp \
|
||||
--with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
|
||||
--with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
|
||||
--disable-libgomp</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the new configure options:</title>
|
||||
|
@ -89,25 +89,11 @@ mkdir -pv /etc/udev/rules.d</userinput></screen>
|
||||
|
||||
<screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen>
|
||||
|
||||
<para>Finally, create some custom rules that are not covered as a part of the
|
||||
defaults:</para>
|
||||
<para>Finally, install some custom rules and support files useful in an LFS
|
||||
environment:</para>
|
||||
|
||||
<screen><userinput remap="install">cat > /etc/udev/rules.d/55-lfs.rules << "EOF"
|
||||
# /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS.
|
||||
|
||||
# Core kernel devices
|
||||
|
||||
# This causes the system clock to be set as soon as /dev/rtc becomes available.
|
||||
SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
|
||||
KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
|
||||
|
||||
# Comms devices
|
||||
|
||||
KERNEL=="ippp[0-9]*", GROUP="dialout"
|
||||
KERNEL=="isdn[0-9]*", GROUP="dialout"
|
||||
KERNEL=="isdnctrl[0-9]*", GROUP="dialout"
|
||||
KERNEL=="dcbri[0-9]*", GROUP="dialout"
|
||||
EOF</userinput></screen>
|
||||
<screen><userinput remap="install">tar -xvf ../&udev-lfs-version;.tar.bz2
|
||||
make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -48,9 +48,9 @@
|
||||
rules. A script has been included that generates the initial rules.
|
||||
Generate these rules by running:</para>
|
||||
|
||||
<screen role="nodump"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
|
||||
<screen role="install"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
|
||||
|
||||
<para> Now, inspect th
|
||||
<para> Now, inspect the
|
||||
<filename>/etc/udev/rules.d/70-persistent-net.rules</filename> file, to
|
||||
find out which name was assigned to which network device:</para>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!ENTITY version "SVN-20140515">
|
||||
<!ENTITY version "SVN-20140519">
|
||||
<!ENTITY short-version "svn"> <!-- Used in dbus chapter, change to x.y for release -->
|
||||
<!ENTITY releasedate "May 15, 2014">
|
||||
<!ENTITY releasedate "May 19, 2014">
|
||||
<!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – -->
|
||||
<!ENTITY milestone "8.0">
|
||||
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
||||
|
Loading…
Reference in New Issue
Block a user