Changeset 67b901f for chapter08


Ignore:
Timestamp:
07/18/2023 08:39:34 PM (12 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
9a674b4
Parents:
7d40eeb
Message:

Re-add ml-support NOT TESTED YET

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/udev.xml

    r7d40eeb r67b901f  
    160160  </sect2>
    161161
     162  <!-- - - - - - - - - - -->
     163  <!-- Multilib - 32bit  -->
     164  <!-- - - - - - - - - - -->
     165  <sect2 arch="ml_32,ml_all" role="installation">
     166    <title>Installation of Udev - 32bit</title>
     167
     168    <para>Clean previous build (while still in the build directory):</para>
     169
     170<screen><userinput remap="pre">rm -rf *</userinput></screen>
     171
     172    <para>Prepare File for compilation:</para>
     173
     174<screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
     175CC="gcc -m32 -march=i686"              \
     176CXX="g++ -m32 -march=i686"             \
     177LANG=en_US.UTF-8                       \
     178meson setup \
     179      --prefix=/usr                 \
     180      --buildtype=release           \
     181      -Dmode=release                \
     182      -Ddev-kvm-mode=0660           \
     183      -Dlink-udev-shared=false      \
     184      ..</userinput></screen>
     185
     186    <para>Compile the package:</para>
     187
     188<screen><userinput remap="make">make</userinput></screen>
     189
     190    <para>Install the package:</para>
     191
     192<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     193cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     194rm -rf DESTDIR</userinput></screen>
     195
     196  </sect2><!-- m32 -->
     197
     198  <!-- - - - - - - - - - -->
     199  <!-- Multilib - x32bit -->
     200  <!-- - - - - - - - - - -->
     201  <sect2 arch="ml_x32,ml_all" role="installation">
     202    <title>Installation of Udev - x32bit</title>
     203    <para>Clean previous build (while still in the build directory):</para>
     204
     205<screen><userinput remap="pre">rm -rf *</userinput></screen>
     206
     207    <para>Prepare File for compilation:</para>
     208
     209<screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \
     210CC="gcc -mx32"                          \
     211CXX="g++ -mx32"                         \
     212CFLAGS+="-Wno-error=shift-overflow"     \
     213CXXFLAGS+="-Wno-error=shift-overflow"   \
     214LANG=en_US.UTF-8                        \
     215meson setup \
     216      --prefix=/usr                 \
     217      --buildtype=release           \
     218      -Dmode=release                \
     219      -Ddev-kvm-mode=0660           \
     220      -Dlink-udev-shared=false      \
     221      ..</userinput></screen>
     222
     223    <para>Compile the package:</para>
     224
     225<screen><userinput remap="make">make</userinput></screen>
     226
     227    <para>Install the package:</para>
     228
     229<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     230cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     231rm -rf DESTDIR</userinput></screen>
     232
     233  </sect2><!-- mx32 -->
     234 
    162235  <sect2 id="conf-udev" role="configuration">
    163236    <title>Configuring Udev</title>
Note: See TracChangeset for help on using the changeset viewer.