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