MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« Attr 64-bit HOME ACL 64-bit »

Attr 32-bit

Name: Attr 32-bit
Summary: Utilities to administer the extended attributes of filesystem objects
License: GPL v2 or later
Version: 2.5.2
URL: https://download.savannah.nongnu.org/releases/attr/attr-2.5.2.tar.xz

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

Configuration

To configure Attr 32-bit for install into the build root, run the following commands:

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

Compilation and Installation

To compile Attr 32-bit, run the following command:

make

Finally, to install Attr 32-bit into the build tree, run the following commands:

make DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib/libattr.la
cp -Rv DESTDIR/usr/lib/* /usr/lib

Contents

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

Navigation    
« Attr 64-bit HOME ACL 64-bit »