A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « NCurses 64-bit | HOME | GNU Bash » |
Name: NCurses 32-bit
Summary: The Ncurses package contains libraries for terminal-independent handling of character screens - 32-bit build
License: MIT
Version: 6.5-20250823
URL: https://invisible-mirror.net/archives/ncurses/current/ncurses-6.5-20250823.tgz
To configure NCurses 32-bit for install into our build root, run the following command:
CC="$BRFS_TARGET-gcc -m32" CXX="$BRFS_TARGET-g++ -m32" \
./configure --prefix=/usr \
--host=$BRFS_TARGET32 \
--build=$(./config.guess) \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
--with-shared \
--without-normal \
--with-cxx-shared \
--without-debug \
--without-ada \
--disable-stripping \
AWK=gawk
To compile NCurses 32-bit, run the following command:
make
Finally, to install NCurses 32-bit into the build root tree, run the following command:
make DESTDIR=$PWD/DESTDIR TIC_PATH=${BRFS}/tools/bin/tic install
ln -sv libncursesw.so DESTDIR/usr/lib/libncurses.so
cp -Rv DESTDIR/usr/lib/* $BRFS/usr/lib
More details about this package is covered later in the core system build.
| Navigation | ||
|---|---|---|
| « NCurses 64-bit | HOME | GNU Bash » |