#!/bin/bash source ~/.bashrc source ../functions/main init_log_file ipkg -m noac ${KERNEL} case "${HVL_TARGET}" in x86*) ipkg ${FILE_PKG} ipkg ${NCURSES} ;; esac CPPFLAGS=-fexceptions \ ipkg ${GMP} "\ --enable-cxx \ --disable-static" export LDFLAGS="-Wl,-rpath,/cross-tools/lib" ipkg ${MPFR} "\ --enable-shared \ --disable-static \ --with-gmp=/cross-tools" ipkg ${MPC} "\ --disable-static \ --with-gmp=/cross-tools \ --with-mpfr=/cross-tools" ipkg ${CLOOG} "\ --enable-shared \ --disable-static \ --with-bits=gmp \ --with-gmp-prefix=/cross-tools" LDFLAGS="" ipkg ${BINUTILS} ipkg -l "${GCC}-pass1" ${GCC} ipkg ${EGLIBC} ipkg -l "${GCC}-pass2" ${GCC} exit $?