Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libffi.xml

    rcd3fd92 rd672ab7  
    6767          is not specified, the system is guessed and the code generated
    6868          may not be correct for some systems.  If the generated code
    69           will be copied from the native system to a less capable 
    70           system, use the less capable system as a parameter. For details 
    71           about alternative system types, see <ulink 
     69          will be copied from the native system to a less capable
     70          system, use the less capable system as a parameter. For details
     71          about alternative system types, see <ulink
    7272          url='https://gcc.gnu.org/onlinedocs/gcc-&gcc-version;/gcc/x86-Options.html'>
    7373          the x86 options in the GCC manual</ulink>.</para>
     
    104104  </sect2>
    105105
    106   <!-- - - - - - - - - - -->
    107   <!-- Multilib - 32bit  -->
    108   <!-- - - - - - - - - - -->
    109  
    110   <sect2 arch="ml_32,ml_all" role="installation">
    111     <title>Installation of Libffi - 32bit</title>
    112 
    113     <para>Clean previous build:</para>
    114 
    115 <screen><userinput remap="pre">make distclean</userinput></screen>
    116 
    117     <para>Prepare Libffi for compilation:</para>
    118 
    119 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" ./configure \
    120     --host=i686-pc-linux-gnu \
    121     --prefix=/usr            \
    122     --libdir=/usr/lib32      \
    123     --disable-static         \
    124     --with-gcc-arch=i686     \
    125     --disable-exec-static-tramp</userinput></screen>
    126 
    127     <para>Compile the package:</para>
    128 
    129 <screen><userinput remap="make">make</userinput></screen>
    130 
    131     <para>To test the results, issue:</para>
    132 
    133 <screen><userinput remap="test">make check</userinput></screen>
    134 
    135     <para>Install the package:</para>
    136 
    137 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    138 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
    139 rm -rf DESTDIR</userinput></screen>
    140 
    141   </sect2><!-- m32 -->
    142 
    143   <!-- - - - - - - - - - -->
    144   <!-- Multilib - x32bit -->
    145   <!-- - - - - - - - - - -->
    146  
    147   <sect2 arch="ml_x32,ml_all" role="installation">
    148     <title>Installation of Libffi - x32bit</title>
    149 
    150     <para>Clean previous build:</para>
    151 
    152 <screen><userinput remap="pre">make distclean</userinput></screen>
    153 
    154     <para>Prepare Libffi for compilation:</para>
    155 
    156 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" ./configure \
    157     --host=x86_64-unknown-linux-gnux32 \
    158     --prefix=/usr            \
    159     --libdir=/usr/libx32     \
    160     --disable-static         \
    161     --with-gcc-arch=x86_64   \
    162     --disable-exec-static-tramp</userinput></screen>
    163 
    164     <para>Compile the package:</para>
    165 
    166 <screen><userinput remap="make">make</userinput></screen>
    167 
    168     <para>To test the results, issue:</para>
    169 
    170 <screen><userinput remap="test">make check</userinput></screen>
    171 
    172     <para>Install the package:</para>
    173 
    174 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    175 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
    176 rm -rf DESTDIR</userinput></screen>
    177 
    178   </sect2><!-- mx32 -->
    179 
    180106  <sect2 id="contents-libffi" role="content">
    181107    <title>Contents of Libffi</title>
     
    208134
    209135</sect1>
     136
Note: See TracChangeset for help on using the changeset viewer.