Changeset b3f1ebb3 for chapter05/ncurses.xml
- Timestamp:
- 03/31/2021 10:41:31 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 6702623
- Parents:
- 989524c
- git-author:
- Thomas Trepl <thomas@…> (04/01/2019 05:00:45 PM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:31 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/ncurses.xml
r989524c rb3f1ebb3 113 113 </sect2> 114 114 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 && 121 CC="${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 && 142 cp -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 && 152 CC="${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 && 165 cp -Rv DESTDIR_x32/tools/libx32/* /tools/libx32</userinput></screen> 166 167 </sect2> 168 115 169 <sect2 role="content"> 116 170 <title/>
Note:
See TracChangeset
for help on using the changeset viewer.