%general-entities; ]> Build Variables Setup target-specific variables for the compiler and linkers: 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" Then add the build variables to ~/.bashrc to prevent issues if you stop and come back later: cat > config.cache << EOF export CC="${CC}" export CXX="${CXX}" export AR="${AR}" export AS="${AS}" export RANLIB="${RANLIB}" export LD="${LD}" export STRIP="${STRIP}" EOF