MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU Readline 64-bit HOME PCRE2 64-bit »

GNU Readline 32-bit

Name: GNU Readline 32-bit
Summary: Libraries for command-line editing and history
License: GPL v3 or later
Version: 8.3
URL: https://ftp.gnu.org/gnu/readline/readline-8.3.tar.gz

Average Build Time: less than 0.1 SBU
Used Install Space: 17 MiB

Configuration

To configure GNU Readline 32-bit for install into the build root, run the following command:

make distclean
CC="gcc -m32" ./configure    \
    --host=i686-pc-linux-gnu \
    --prefix=/usr            \
    --libdir=/usr/lib        \
    --disable-static         \
    --with-curses

Compilation and Installation

To compile GNU Readline 32-bit, run the following command:

make SHLIB_LIBS="-lncursesw"

Finally, to install GNU Readline 32-bit into the build tree, run the following command:

make SHLIB_LIBS="-lncursesw" DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib/* /usr/lib

Contents

See the contents section of the 64-bit build of GNU Readline for details.

Navigation    
« GNU Readline 64-bit HOME PCRE2 64-bit »