Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    rf8b27ab rf96a6d4  
    190190  </sect2>
    191191
     192  <!-- - - - - - - - - - -->
     193  <!-- Multilib - 32bit  -->
     194  <!-- - - - - - - - - - -->
     195  <sect2 arch="ml_32,ml_all">
     196    <title>Building Ncurses - 32bit</title>
     197
     198    <para>Clean previous build:</para>
     199
     200<screen><userinput remap="pre">make distclean</userinput></screen>
     201
     202    <para>Prepare Ncurses for compilation:</para>
     203
     204<screen><userinput remap="configure">CC="$LFS_TGT-gcc -m32"              \
     205CXX="$LFS_TGT-g++ -m32"             \
     206./configure --prefix=/usr           \
     207            --host=$LFS_TGT32       \
     208            --build=$(./config.guess)    \
     209            --libdir=/usr/lib32     \
     210            --mandir=/usr/share/man \
     211            --with-shared           \
     212            --without-normal        \
     213            --with-cxx-shared       \
     214            --without-debug         \
     215            --without-ada           \
     216            --disable-stripping     \
     217            --enable-widec</userinput></screen>
     218
     219    <para>Compile the package:</para>
     220
     221<screen><userinput remap="make">make</userinput></screen>
     222
     223    <para>Install the package:</para>
     224
     225<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
     226ln -s libncursesw.so DESTDIR/usr/lib32/libcursesw.so
     227cp -Rv DESTDIR/usr/lib32/* $LFS/usr/lib32
     228rm -rf DESTDIR</userinput></screen>
     229
     230  </sect2><!-- m32 -->
     231
     232  <!-- - - - - - - - - - -->
     233  <!-- Multilib - x32bit -->
     234  <!-- - - - - - - - - - -->
     235  <sect2 arch="ml_x32,ml_all">
     236    <title>Building Ncurses - x32bit</title>
     237
     238    <para>Clean previous build:</para>
     239
     240<screen><userinput remap="pre">make distclean</userinput></screen>
     241
     242    <para>Prepare Ncurses for compilation:</para>
     243
     244<screen><userinput remap="configure">CC="$LFS_TGT-gcc -mx32"             \
     245CXX="$LFS_TGT-g++ -mx32"            \
     246./configure --prefix=/usr           \
     247            --host=$LFS_TGTX32      \
     248            --build=$(./config.guess)    \
     249            --libdir=/usr/libx32    \
     250            --mandir=/usr/share/man \
     251            --with-shared           \
     252            --without-normal        \
     253            --with-cxx-shared       \
     254            --without-debug         \
     255            --without-ada           \
     256            --disable-stripping     \
     257            --enable-widec</userinput></screen>
     258
     259    <para>Compile the package:</para>
     260
     261<screen><userinput remap="make">make</userinput></screen>
     262
     263    <para>Install the package:</para>
     264
     265<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR TIC_PATH=$(pwd)/build/progs/tic install
     266ln -s libncursesw.so DESTDIR/usr/libx32/libcursesw.so
     267cp -Rv DESTDIR/usr/libx32/* $LFS/usr/libx32
     268rm -rf DESTDIR</userinput></screen>
     269
     270  </sect2><!-- mx32 -->
     271
    192272  <sect2 role="content">
    193273    <title/>
Note: See TracChangeset for help on using the changeset viewer.