A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « NCurses 64-bit | HOME | GNU Sed » |
Name: NCurses 32-bit
Summary: Terminal-independent library for console interfaces
License: MIT
Version: 6.5-20250823
URL: https://invisible-mirror.net/archives/ncurses/current/ncurses-6.5-20250823.tgz
Average Build Time: 0.2 SBU
Used Install Space: 46 MiB
To configure NCurses 32-bit for install into the build root, run the following commands:
make distclean
CC="gcc -m32" CXX="g++ -m32" \
./configure --prefix=/usr \
--host=i686-pc-linux-gnu \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--with-shared \
--without-debug \
--without-normal \
--with-cxx-shared \
--enable-pc-files \
--with-pkg-config-libdir=/usr/lib/pkgconfig
To compile NCurses 32-bit, run the following command:
make
Finally, to install NCurses 32-bit into the build tree, run the following commands:
make DESTDIR=$PWD/DESTDIR install
mkdir -p DESTDIR/usr/lib/pkgconfig
for lib in ncurses form panel menu ; do
rm -vf DESTDIR/usr/lib/lib${lib}.so
echo "INPUT(-l${lib}w)" > DESTDIR/usr/lib/lib${lib}.so
ln -svf ${lib}w.pc DESTDIR/usr/lib/pkgconfig/$lib.pc
done
rm -vf DESTDIR/usr/lib/libcursesw.so
echo "INPUT(-lncursesw)" > DESTDIR/usr/lib/libcursesw.so
ln -sfv libncurses.so DESTDIR/usr/lib/libcurses.so
cp -Rfv DESTDIR/usr/lib/* /usr/lib
rm -rf DESTDIR
See the contents section of the 64-bit build of NCurses for details.
| Navigation | ||
|---|---|---|
| « NCurses 64-bit | HOME | GNU Sed » |