Changes in chapter08/libffi.xml [c3f8922:cd3fd92]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libffi.xml
rc3f8922 rcd3fd92 104 104 </sect2> 105 105 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 106 180 <sect2 id="contents-libffi" role="content"> 107 181 <title>Contents of Libffi</title> … … 134 208 135 209 </sect1> 136
Note:
See TracChangeset
for help on using the changeset viewer.