MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« IP Utils HOME CUnit 32-bit »

CUnit 64-bit

Name: CUnit 64-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 64-bit for install into the build root, run the following commands:

autoreconf -fiv
./configure --prefix=/usr                       \
            --libdir=/usr/lib64                 \
            --libexecdir=/usr/lib64             \
            --disable-static                    \
            --docdir=/usr/share/doc/CUnit-2.1-3

Compilation and Installation

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

make

Next, run the test suite:

make check

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

make install
rm -fv /usr/lib64/libcunit.la

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Libraries libcunit.so
Navigation    
« IP Utils HOME CUnit 32-bit »