Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    r0ebda11 rd7a9421  
    151151  </sect2>
    152152
    153   <!-- - - - - - - - - - -->
    154   <!-- Multilib - 32bit  -->
    155   <!-- - - - - - - - - - -->
    156   <sect2 arch="ml_32,ml_all">
    157     <title>Building Ncurses - 32bit</title>
    158 
    159     <para>Clean previous build:</para>
    160 
    161 <screen><userinput remap="pre">make distclean</userinput></screen>
    162 
    163     <para>Prepare Ncurses for compilation:</para>
    164 
    165 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -m32"              \
    166 CXX="$LFS_TGT-g++ -m32"             \
    167 ./configure --prefix=/usr           \
    168             --host=$LFS_TGT32       \
    169             --build=$(./config.guess)    \
    170             --libdir=/usr/lib32     \
    171             --mandir=/usr/share/man \
    172             --with-shared           \
    173             --without-debug         \
    174             --without-ada           \
    175             --without-normal        \
    176             --enable-pc-files       \
    177             --enable-widec          \
    178             --with-pkg-config-libdir=/usr/lib32/pkgconfig</userinput></screen>
    179 
    180     <para>Compile the package:</para>
    181 
    182 <screen><userinput remap="make">make</userinput></screen>
    183 
    184     <para>Install the package:</para>
    185 
    186 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
    187 ln -s libncursesw.so DESTDIR/usr/lib32/libcursesw.so
    188 cp -Rv DESTDIR/usr/lib32/* $LFS/usr/lib32
    189 rm -rf DESTDIR</userinput></screen>
    190 
    191   </sect2><!-- m32 -->
    192 
    193   <!-- - - - - - - - - - -->
    194   <!-- Multilib - x32bit -->
    195   <!-- - - - - - - - - - -->
    196   <sect2 arch="ml_x32,ml_all">
    197     <title>Building Ncurses - x32bit</title>
    198 
    199     <para>Clean previous build:</para>
    200 
    201 <screen><userinput remap="pre">make distclean</userinput></screen>
    202 
    203     <para>Prepare Ncurses for compilation:</para>
    204 
    205 <screen><userinput remap="configure">CC="$LFS_TGT-gcc -mx32"             \
    206 CXX="$LFS_TGT-g++ -mx32"            \
    207 ./configure --prefix=/usr           \
    208             --host=$LFS_TGTX32      \
    209             --build=$(./config.guess)    \
    210             --libdir=/usr/libx32    \
    211             --mandir=/usr/share/man \
    212             --with-shared           \
    213             --without-debug         \
    214             --without-ada           \
    215             --without-normal        \
    216             --enable-pc-files       \
    217             --enable-widec          \
    218             --with-pkg-config-libdir=/usr/libx32/pkgconfig</userinput></screen>
    219 
    220     <para>Compile the package:</para>
    221 
    222 <screen><userinput remap="make">make</userinput></screen>
    223 
    224     <para>Install the package:</para>
    225 
    226 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
    227 ln -s libncursesw.so DESTDIR/usr/libx32/libcursesw.so
    228 cp -Rv DESTDIR/usr/libx32/* $LFS/usr/libx32
    229 rm -rf DESTDIR</userinput></screen>
    230 
    231   </sect2><!-- mx32 -->
    232 
    233153  <sect2 role="content">
    234154    <title/>
Note: See TracChangeset for help on using the changeset viewer.