MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« GNU Coreutils HOME File »

GNU Diffutils

Name: GNU Difftils
Summary: Tools for displaying differences between files and directories
License: GPL v3 or later
Version: 3.12
URL: https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz

Configuration

To configure GNU Diffutils for install into the build root, run the following command:

./configure --prefix=/usr                 \
            --libdir=/usr/lib64           \
            --libexecdir=/usr/lib64       \
            --host=$BRFS_TARGET           \
            gl_cv_func_strcasecmp_works=y \
            --build=$BRFS_HOST

Compilation and Installation

To compile GNU Diffutils, run the following command:

make

Finally, to install GNU Diffutils into the build tree, run the following command:

make DESTDIR=${BRFS} install

More details about this package is covered later in the core system build.

Navigation    
« GNU Coreutils HOME File »