Changes in chapter08/libffi.xml [0ebda11:8d35535]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libffi.xml
r0ebda11 r8d35535 88 88 </sect2> 89 89 90 <!-- - - - - - - - - - -->91 <!-- Multilib - 32bit -->92 <!-- - - - - - - - - - -->93 94 <sect2 arch="ml_32,ml_all" role="installation">95 <title>Installation of Libffi - 32bit</title>96 97 <para>Clean previous build:</para>98 99 <screen><userinput remap="pre">make distclean</userinput></screen>100 101 <para>Prepare Libffi for compilation:</para>102 103 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" ./configure \104 --prefix=/usr \105 --disable-static \106 --libdir=/usr/lib32 \107 --with-gcc-arch=i686 \108 --host=i686-pc-linux-gnu</userinput></screen>109 110 <para>Compile the package:</para>111 112 <screen><userinput remap="make">make</userinput></screen>113 114 <para>To test the results, issue:</para>115 116 <screen><userinput remap="test">make check</userinput></screen>117 118 <para>Install the package:</para>119 120 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install121 cp -Rv DESTDIR/usr/lib32/* /usr/lib32122 rm -rf DESTDIR</userinput></screen>123 124 </sect2><!-- m32 -->125 126 <!-- - - - - - - - - - -->127 <!-- Multilib - x32bit -->128 <!-- - - - - - - - - - -->129 130 <sect2 arch="ml_x32,ml_all" role="installation">131 <title>Installation of Libffi - x32bit</title>132 133 <para>Clean previous build:</para>134 135 <screen><userinput remap="pre">make distclean</userinput></screen>136 137 <para>Prepare Libffi for compilation:</para>138 139 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" ./configure \140 --prefix=/usr \141 --disable-static \142 --libdir=/usr/libx32 \143 --with-gcc-arch=x86_64 \144 --host=x86_64-unknown-linux-gnux32</userinput></screen>145 146 <para>Compile the package:</para>147 148 <screen><userinput remap="make">make</userinput></screen>149 150 <para>To test the results, issue:</para>151 152 <screen><userinput remap="test">make check</userinput></screen>153 154 <para>Install the package:</para>155 156 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install157 cp -Rv DESTDIR/usr/libx32/* /usr/libx32158 rm -rf DESTDIR</userinput></screen>159 160 </sect2><!-- mx32 -->161 162 90 <sect2 id="contents-libffi" role="content"> 163 91 <title>Contents of Libffi</title>
Note:
See TracChangeset
for help on using the changeset viewer.