#!/bin/bash
-set -o errexit
source ~/.bashrc
init_log_file
# Building temporary system
-export CC="${CLFS_TARGET}-gcc"
-export CXX="${CLFS_TARGET}-g++"
-export AR="${CLFS_TARGET}-ar"
-export AS="${CLFS_TARGET}-as"
-export RANLIB="${CLFS_TARGET}-ranlib"
-export LD="${CLFS_TARGET}-ld"
-export STRIP="${CLFS_TARGET}-strip"
HOST_CC=gcc CPPFLAGS=-fexceptions \
ipkg ${GMP} "--enable-cxx"
ipkg ${FILE_PKG}
ipkg ${FLEX}
ipkg ${GAWK}
-ipkg ${GETTEXT} "--disable-shared"
+ipkg ${GETTEXT}
ipkg ${GREP} "\
--disable-perl-regexp \
--without-included-regex"