Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libtool.xml

    r70aadfb rc522873  
    7272              so we manually remove the static library -->
    7373
    74     <para>Remove an useless static library:</para>
     74    <para>Remove a useless static library:</para>
    7575
    7676<screen><userinput remap="install">rm -fv /usr/lib/libltdl.a</userinput></screen>
     
    7878  </sect2>
    7979
    80   <!-- - - - - - - - - - -->
    81   <!-- Multilib - 32bit  -->
    82   <!-- - - - - - - - - - -->
    83  
    84   <sect2 arch="ml_32,ml_all" role="installation">
    85     <title>Installation of Libtool - 32bit</title>
    86 
    87     <para>Clean previous build:</para>
    88 
    89 <screen><userinput remap="pre">make distclean</userinput></screen>
    90 
    91     <para>Prepare Libtool for compilation:</para>
    92 
    93 <screen><userinput remap="configure">CC="gcc -m32" ./configure \
    94     --host=i686-pc-linux-gnu \
    95     --prefix=/usr            \
    96     --libdir=/usr/lib32</userinput></screen>
    97 
    98     <para>Compile the package:</para>
    99 
    100 <screen><userinput remap="make">make</userinput></screen>
    101 
    102     <para>Install the package:</para>
    103 
    104 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    105 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
    106 rm -rf DESTDIR</userinput></screen>
    107 
    108   </sect2><!-- m32 -->
    109 
    110   <!-- - - - - - - - - - -->
    111   <!-- Multilib - x32bit -->
    112   <!-- - - - - - - - - - -->
    113  
    114   <sect2 arch="ml_x32,ml_all" role="installation">
    115     <title>Installation of Libtool - x32bit</title>
    116 
    117     <para>Clean previous build:</para>
    118 
    119 <screen><userinput remap="pre">make distclean</userinput></screen>
    120 
    121     <para>Prepare Libtool for compilation:</para>
    122 
    123 <screen><userinput remap="configure">CC="gcc -mx32" ./configure \
    124     --host=x86_64-pc-linux-gnux32 \
    125     --prefix=/usr                 \
    126     --libdir=/usr/libx32</userinput></screen>
    127 
    128     <para>Compile the package:</para>
    129 
    130 <screen><userinput remap="make">make</userinput></screen>
    131 
    132     <para>Install the package:</para>
    133 
    134 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    135 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
    136 rm -rf DESTDIR</userinput></screen>
    137 
    138   </sect2><!-- mx32 -->
    13980
    14081  <sect2 id="contents-libtool" role="content">
Note: See TracChangeset for help on using the changeset viewer.