Ignore:
Timestamp:
04/01/2019 05:00:45 PM (5 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
7d9f881
Parents:
1fa2099
Message:

First apply of multilib-patch of April 1st, 2019

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11566 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/ncurses.xml

    r1fa2099 r8eb3fe4  
    113113  </sect2>
    114114
     115  <sect2 arch="multilib" role="installation">
     116    <title>Installation of Ncurses - 32 bit</title>
     117
     118    <para>Prepare Ncurses for compilation:</para>
     119
     120<screen><userinput remap="configure">make distclean &amp;&amp;
     121CC="${LFS_TGT}-gcc -m32"          \
     122./configure --prefix=/tools       \
     123            --libdir=/tools/lib32 \
     124            --with-shared         \
     125            --without-debug       \
     126            --without-ada         \
     127            --enable-widec        \
     128            --enable-overwrite    \
     129            --host="${LFS_TGT32}"</userinput></screen>
     130
     131    <para>Compile the package:</para>
     132
     133<screen><userinput remap="make">make</userinput></screen>
     134
     135    <para>To test the results, issue:</para>
     136
     137<screen><userinput remap="test">make check</userinput></screen>
     138
     139    <para>Install the package:</para>
     140
     141<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR_32 install &amp;&amp;
     142cp -Rv DESTDIR_32/tools/lib32/* /tools/lib32</userinput></screen>
     143
     144  </sect2>
     145
     146  <sect2 arch="multilib" role="installation">
     147    <title>Installation of Ncurses - x32 bit</title>
     148
     149    <para>Repeat for the x32-ABI:</para>
     150
     151<screen><userinput remap="configure">make distclean &amp;&amp;
     152CC="${LFS_TGT}-gcc -mx32"          \
     153./configure --prefix=/tools        \
     154            --libdir=/tools/libx32 \
     155            --with-shared          \
     156            --without-debug        \
     157            --without-ada          \
     158            --enable-widec         \
     159            --enable-overwrite     \
     160            --host="${LFS_TGTX32}"</userinput></screen>
     161
     162<screen><userinput remap="make">make</userinput></screen>
     163
     164<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR_x32 install &amp;&amp;
     165cp -Rv DESTDIR_x32/tools/libx32/* /tools/libx32</userinput></screen>
     166
     167  </sect2>
     168
    115169  <sect2 role="content">
    116170    <title/>
Note: See TracChangeset for help on using the changeset viewer.