Changeset 8eb3fe4 for chapter06/libffi.xml
- Timestamp:
- 04/01/2019 05:00:45 PM (5 years ago)
- Branches:
- multilib-10.1
- Children:
- 7d9f881
- Parents:
- 1fa2099
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/libffi.xml
r1fa2099 r8eb3fe4 99 99 </sect2> 100 100 101 <!-- ~~~~~ m32 ~~~~~ --> 102 <sect2 arch="multilib" role="installation"> 103 <title>Installation of Libffi - 32-bit</title> 104 105 <para>Clean previous build:</para> 106 107 <screen><userinput remap="pre">make distclean</userinput></screen> 108 109 <para>Prepare Libffi for compilation:</para> 110 111 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \ 112 ./configure \ 113 --prefix=/usr \ 114 --disable-static \ 115 --libdir=/usr/lib32 \ 116 --with-gcc-arch=i686 \ 117 --host=i686-pc-linux-gnu</userinput></screen> 118 119 <para>Compile the package:</para> 120 121 <screen><userinput remap="make">make</userinput></screen> 122 123 <para>To test the results, issue:</para> 124 125 <screen><userinput remap="test">make check</userinput></screen> 126 127 <para>Install the package:</para> 128 129 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 130 cp -Rv DESTDIR/usr/lib32/* /usr/lib32 131 rm -rf DESTDIR</userinput></screen> 132 133 </sect2> 134 135 <!-- ~~~~~ mx32 ~~~~~ --> 136 <sect2 arch="multilib" role="installation"> 137 <title>Installation of Libffi - x32-bit</title> 138 139 <para>Clean previous build:</para> 140 141 <screen><userinput remap="pre">make distclean</userinput></screen> 142 143 <para>Prepare Libffi for compilation:</para> 144 145 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \ 146 ./configure \ 147 --prefix=/usr \ 148 --disable-static \ 149 --with-gcc-arch=x86_64 \ 150 --libdir=/usr/libx32 \ 151 --host=x86_64-unknown-linux-gnux32</userinput></screen> 152 153 <para>Compile the package:</para> 154 155 <screen><userinput remap="make">make</userinput></screen> 156 157 <para>To test the results, issue:</para> 158 159 <screen><userinput remap="test">make check</userinput></screen> 160 161 <para>Install the package:</para> 162 163 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install 164 cp -Rv DESTDIR/usr/libx32/* /usr/libx32 165 rm -rf DESTDIR</userinput></screen> 166 167 </sect2> 168 101 169 <sect2 id="contents-libffi" role="content"> 102 170 <title>Contents of Libffi</title>
Note:
See TracChangeset
for help on using the changeset viewer.