aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/eudev.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/eudev.xml')
-rw-r--r--chapter08/eudev.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/chapter08/eudev.xml b/chapter08/eudev.xml
index aa86f5150..e1b82dd48 100644
--- a/chapter08/eudev.xml
+++ b/chapter08/eudev.xml
@@ -84,6 +84,76 @@ make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
</sect2>
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - 32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_32,ml_all" role="installation">
+ <title>Installation of Eudev - 32bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Prepare Eudev for compilation:</para>
+
+<screen><userinput remap="configure">CC="gcc -m32" \
+./configure --host=i686-pc-linux-gnu \
+ --prefix=/usr \
+ --bindir=/usr/sbin \
+ --libdir=/usr/lib32 \
+ --sysconfdir=/etc \
+ --disable-manpages \
+ --disable-static \
+ --config-cache</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/lib32/* /usr/lib32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- m32 -->
+
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - x32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_x32,ml_all" role="installation">
+ <title>Installation of Eudev - x32bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Prepare Eudev for compilation:</para>
+
+<screen><userinput remap="configure">CC="gcc -mx32" \
+./configure --host=x86_64-lfs-linux-gnux32 \
+ --prefix=/usr \
+ --bindir=/usr/sbin \
+ --libdir=/usr/libx32 \
+ --sysconfdir=/etc \
+ --disable-manpages \
+ --disable-static \
+ --config-cache</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/libx32/* /usr/libx32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- mx32 -->
+
<sect2 id="conf-eudev" role="configuration">
<title>Configuring Eudev</title>