Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/attr.xml

    r6a156bab r2d66549  
    7979  </sect2>
    8080
     81  <!-- - - - - - - - - - -->
     82  <!-- Multilib - 32bit  -->
     83  <!-- - - - - - - - - - -->
     84 
     85  <sect2 arch="ml_32,ml_all" role="installation">
     86    <title>Installation of Attr - 32bit</title>
     87
     88    <para>Clean previous build:</para>
     89
     90<screen><userinput remap="pre">make distclean</userinput></screen>
     91
     92    <para>Prepare Attr for compilation:</para>
     93
     94<screen><userinput remap="configure">CC="gcc -m32" ./configure \
     95    --prefix=/usr         \
     96    --disable-static      \
     97    --libdir=&usr-lib-m32; \
     98    --host=i686-pc-linux-gnu</userinput></screen>
     99
     100    <para>Compile the package:</para>
     101
     102<screen><userinput remap="make">make</userinput></screen>
     103
     104    <para>Install the package:</para>
     105
     106<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     107cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
     108rm -rf DESTDIR</userinput></screen>
     109
     110  </sect2><!-- m32 -->
     111
     112  <!-- - - - - - - - - - -->
     113  <!-- Multilib - x32bit -->
     114  <!-- - - - - - - - - - -->
     115 
     116  <sect2 arch="ml_x32,ml_all" role="installation">
     117    <title>Installation of Attr - x32bit</title>
     118
     119    <para>Clean previous build:</para>
     120
     121<screen><userinput remap="pre">make distclean</userinput></screen>
     122
     123    <para>Prepare Attr for compilation:</para>
     124
     125<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
     126    --prefix=/usr          \
     127    --disable-static       \
     128    --libdir=&usr-lib-mx32;   \
     129    --host=x86_64-pc-linux-gnux32</userinput></screen>
     130
     131    <para>Compile the package:</para>
     132
     133<screen><userinput remap="make">make</userinput></screen>
     134
     135    <para>Install the package:</para>
     136
     137<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     138cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
     139rm -rf DESTDIR</userinput></screen>
     140
     141  </sect2><!-- mx32 -->
     142
    81143  <sect2 id="contents-attr" role="content">
    82144    <title>Contents of Attr</title>
Note: See TracChangeset for help on using the changeset viewer.