Packages/gcc-final/build
From Organic Design wiki
- !/bin/sh
. config/options
$SCRIPTS/install ccache toolchain $SCRIPTS/install binutils toolchain $SCRIPTS/install $TARGET_LIBC toolchain $SCRIPTS/unpack gcc
setup_toolchain host
cd $BUILD/gcc* mkdir -p objdir-$1 cd objdir-$1 ../configure --host=$HOST_NAME \
--build=$HOST_NAME \ --target=$TARGET_NAME \ --prefix=$ROOT/$TOOLCHAIN \ --with-sysroot=$SYSROOT_PREFIX \ --with-local-prefix=${LIB_PREFIX#$SYSROOT_PREFIX} \ --enable-languages=${TOOLCHAIN_LANGUAGES} \ --disable-__cxa_atexit \ --disable-libmudflap \ --disable-libssp \ --disable-shared \ --disable-nls
make