Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    r029371f r3abde59  
    207207  </sect2>
    208208
    209   <!-- - - - - - - - - - -->
    210   <!-- Multilib - 32bit  -->
    211   <!-- - - - - - - - - - -->
    212   <sect2 arch="ml_32,ml_all">
    213     <title>Building Ncurses - 32bit</title>
    214 
    215     <para>Clean previous build:</para>
    216 
    217 <screen><userinput remap="pre">make distclean</userinput></screen>
    218 
    219     <para>Prepare Ncurses for compilation:</para>
    220 
    221 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -m32"              \
    222 CXX="$LFS_TGT-g++ -m32"             \
    223 ./configure --prefix=/usr           \
    224             --host=$LFS_TGT32       \
    225             --build=$(./config.guess)    \
    226             --libdir=/usr/lib32     \
    227             --mandir=/usr/share/man \
    228             --with-shared           \
    229             --without-normal        \
    230             --with-cxx-shared       \
    231             --without-debug         \
    232             --without-ada           \
    233             --disable-stripping</userinput></screen>
    234 
    235     <para>Compile the package:</para>
    236 
    237 <screen><userinput remap="make">make</userinput></screen>
    238 
    239     <para>Install the package:</para>
    240 
    241 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
    242 ln -sv libncursesw.so DESTDIR/usr/lib32/libncurses.so
    243 cp -Rv DESTDIR/usr/lib32/* $LFS/usr/lib32
    244 rm -rf DESTDIR</userinput></screen>
    245 
    246   </sect2><!-- m32 -->
    247 
    248   <!-- - - - - - - - - - -->
    249   <!-- Multilib - x32bit -->
    250   <!-- - - - - - - - - - -->
    251   <sect2 arch="ml_x32,ml_all">
    252     <title>Building Ncurses - x32bit</title>
    253 
    254     <para>Clean previous build:</para>
    255 
    256 <screen><userinput remap="pre">make distclean</userinput></screen>
    257 
    258     <para>Prepare Ncurses for compilation:</para>
    259 
    260 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -mx32"             \
    261 CXX="$LFS_TGT-g++ -mx32"            \
    262 ./configure --prefix=/usr           \
    263             --host=$LFS_TGTX32      \
    264             --build=$(./config.guess)    \
    265             --libdir=/usr/libx32    \
    266             --mandir=/usr/share/man \
    267             --with-shared           \
    268             --without-normal        \
    269             --with-cxx-shared       \
    270             --without-debug         \
    271             --without-ada           \
    272             --disable-stripping</userinput></screen>
    273 
    274     <para>Compile the package:</para>
    275 
    276 <screen><userinput remap="make">make</userinput></screen>
    277 
    278     <para>Install the package:</para>
    279 
    280 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
    281 ln -sv libncursesw.so DESTDIR/usr/libx32/libncurses.so
    282 cp -Rv DESTDIR/usr/libx32/* $LFS/usr/libx32
    283 rm -rf DESTDIR</userinput></screen>
    284 
    285   </sect2><!-- mx32 -->
    286 
    287209  <sect2 role="content">
    288210    <title/>
Note: See TracChangeset for help on using the changeset viewer.