#!/bin/bash source ~/.bashrc # Reading system configuration informations, functions and package versions. source ../config/sysinfos source ../functions source ../config/packages-list init_log_file ipkg -m noac ${KERNEL} case "${HVL_TARGET}" in x86*) ipkg ${FILE_PKG} ipkg ${NCURSES} ;; esac CPPFLAGS=-fexceptions \ ipkg ${GMP} "--enable-cxx" export LDFLAGS="-Wl,-rpath,/cross-tools/lib" ipkg ${MPFR} "\ --enable-shared \ --with-gmp=/cross-tools" ipkg ${MPC} "\ --with-gmp=/cross-tools \ --with-mpfr=/cross-tools" ipkg ${PPL} "\ --enable-shared \ --enable-interfaces=c,cxx \ --disable-optimization \ --with-libgmp-prefix=/cross-tools \ --with-libgmpxx-prefix=/cross-tools" ipkg ${CLOOG_PPL} "\ --enable-shared \ --with-bits=gmp \ --with-gmp=/cross-tools \ --with-ppl=/cross-tools" LDFLAGS="" ipkg ${BINUTILS} ipkg -l "${GCC}-pass1" ${GCC} ipkg ${EGLIBC} ipkg -l "${GCC}-pass2" ${GCC} exit $?