Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    raf974a9c r2bb813a  
    135135echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen>
    136136
     137    <para>Remove an unneeded static library not handled by
     138    <command>configure</command>:</para>
     139
     140<screen><userinput remap="install">rm -v /usr/lib/libncurses++w.a</userinput></screen>
     141
    137142    <variablelist>
    138143      <title>The meaning of the install options:</title>
     
    161166  </sect2>
    162167
    163   <!-- - - - - - - - - - -->
    164   <!-- Multilib - 32bit  -->
    165   <!-- - - - - - - - - - -->
    166   <sect2 arch="ml_32,ml_all">
    167     <title>Building Ncurses - 32bit</title>
    168 
    169     <para>Clean previous build:</para>
    170 
    171 <screen><userinput remap="pre">make distclean</userinput></screen>
    172 
    173     <para>Prepare Ncurses for compilation:</para>
    174 
    175 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -m32"              \
    176 CXX="$LFS_TGT-g++ -m32"             \
    177 ./configure --prefix=/usr           \
    178             --host=$LFS_TGT32       \
    179             --build=$(./config.guess)    \
    180             --libdir=/usr/lib32     \
    181             --mandir=/usr/share/man \
    182             --with-shared           \
    183             --without-debug         \
    184             --without-ada           \
    185             --without-normal        \
    186             --disable-stripping     \
    187             --enable-widec</userinput></screen>
    188 
    189     <para>Compile the package:</para>
    190 
    191 <screen><userinput remap="make">make</userinput></screen>
    192 
    193     <para>Install the package:</para>
    194 
    195 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
    196 ln -s libncursesw.so DESTDIR/usr/lib32/libcursesw.so
    197 cp -Rv DESTDIR/usr/lib32/* $LFS/usr/lib32
    198 rm -rf DESTDIR</userinput></screen>
    199 
    200   </sect2><!-- m32 -->
    201 
    202   <!-- - - - - - - - - - -->
    203   <!-- Multilib - x32bit -->
    204   <!-- - - - - - - - - - -->
    205   <sect2 arch="ml_x32,ml_all">
    206     <title>Building Ncurses - x32bit</title>
    207 
    208     <para>Clean previous build:</para>
    209 
    210 <screen><userinput remap="pre">make distclean</userinput></screen>
    211 
    212     <para>Prepare Ncurses for compilation:</para>
    213 
    214 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -mx32"             \
    215 CXX="$LFS_TGT-g++ -mx32"            \
    216 ./configure --prefix=/usr           \
    217             --host=$LFS_TGTX32      \
    218             --build=$(./config.guess)    \
    219             --libdir=/usr/libx32    \
    220             --mandir=/usr/share/man \
    221             --with-shared           \
    222             --without-debug         \
    223             --without-ada           \
    224             --without-normal        \
    225             --disable-stripping     \
    226             --enable-widec</userinput></screen>
    227 
    228     <para>Compile the package:</para>
    229 
    230 <screen><userinput remap="make">make</userinput></screen>
    231 
    232     <para>Install the package:</para>
    233 
    234 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
    235 ln -s libncursesw.so DESTDIR/usr/libx32/libcursesw.so
    236 cp -Rv DESTDIR/usr/libx32/* $LFS/usr/libx32
    237 rm -rf DESTDIR</userinput></screen>
    238 
    239   </sect2><!-- mx32 -->
    240 
    241168  <sect2 role="content">
    242169    <title/>
Note: See TracChangeset for help on using the changeset viewer.