Changes in chapter06/ncurses.xml [fe039b5:9da9d014]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses.xml
rfe039b5 r9da9d014 160 160 <screen><userinput remap="install">ln -sfv ../../lib/$(readlink $LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so</userinput></screen> 161 161 162 163 162 </sect2> 163 164 <!-- - - - - - - - - - --> 165 <!-- Multilib - 32bit --> 166 <!-- - - - - - - - - - --> 167 <sect2 arch="ml_32,ml_all"> 168 <title>Building Ncurses - 32bit</title> 169 170 <para>Clean previous build:</para> 171 172 <screen><userinput remap="pre">make distclean</userinput></screen> 173 174 <para>Prepare Ncurses for compilation:</para> 175 176 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -m32" \ 177 CXX="$LFS_TGT-g++ -m32" \ 178 ./configure --prefix=/usr \ 179 --host=$LFS_TGT32 \ 180 --build=$(./config.guess) \ 181 --libdir=&usr-lib-m32; \ 182 --mandir=/usr/share/man \ 183 --with-shared \ 184 --without-debug \ 185 --without-ada \ 186 --without-normal \ 187 --enable-pc-files \ 188 --enable-widec \ 189 --with-pkg-config-libdir=&usr-lib-m32;/pkgconfig</userinput></screen> 190 191 <para>Compile the package:</para> 192 193 <screen><userinput remap="make">make</userinput></screen> 194 195 <para>Install the package:</para> 196 197 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install 198 ln -s libncursesw.so DESTDIR&usr-lib-m32;/libcursesw.so 199 cp -Rv DESTDIR&usr-lib-m32;/* $LFS&usr-lib-m32; 200 rm -rf DESTDIR</userinput></screen> 201 202 </sect2><!-- m32 --> 203 204 <!-- - - - - - - - - - --> 205 <!-- Multilib - x32bit --> 206 <!-- - - - - - - - - - --> 207 <sect2 arch="ml_x32,ml_all"> 208 <title>Building Ncurses - x32bit</title> 209 210 <para>Clean previous build:</para> 211 212 <screen><userinput remap="pre">make distclean</userinput></screen> 213 214 <para>Prepare Ncurses for compilation:</para> 215 216 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -mx32" \ 217 CXX="$LFS_TGT-g++ -mx32" \ 218 ./configure --prefix=/usr \ 219 --host=$LFS_TGTX32 \ 220 --build=$(./config.guess) \ 221 --libdir=&usr-lib-mx32; \ 222 --mandir=/usr/share/man \ 223 --with-shared \ 224 --without-debug \ 225 --without-ada \ 226 --without-normal \ 227 --enable-pc-files \ 228 --enable-widec \ 229 --with-pkg-config-libdir=&usr-lib-mx32;/pkgconfig</userinput></screen> 230 231 <para>Compile the package:</para> 232 233 <screen><userinput remap="make">make</userinput></screen> 234 235 <para>Install the package:</para> 236 237 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install 238 ln -s libncursesw.so DESTDIR&usr-lib-mx32;/libcursesw.so 239 cp -Rv DESTDIR&usr-lib-mx32;/* $LFS&usr-lib-mx32; 240 rm -rf DESTDIR</userinput></screen> 241 242 </sect2><!-- mx32 --> 164 243 165 244 <sect2 role="content">
Note:
See TracChangeset
for help on using the changeset viewer.