MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« CUnit 64-bit HOME LibSEPol 64-bit »

CUnit 32-bit

Name: CUnit 32-bit
Summary: A library for writing unit tests in C
License: LGPL v2.1
Version: 2.1-3
URL: https://sourceforge.net/projects/cunit/files/CUnit/2.1-3/CUnit-2.1-3.tar.bz2

Average Build Time: less than 0.1 SBU
Used Install Space: 544 KiB

Configuration

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

make distclean
CC="gcc -m32" CXX="g++ -m32"                    \
./configure --prefix=/usr                       \
            --libdir=/usr/lib                   \
            --libexecdir=/usr/lib               \
            --disable-static                    \
            --docdir=/usr/share/doc/CUnit-2.1-3

Compilation and Installation

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

make

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

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

Contents

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

Navigation    
« CUnit 64-bit HOME LibSEPol 64-bit »