# binutils/cfg - Build settings for "binutils" #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 001.95 minutes) - HP EliteBook 8560w 32GB RAM 00.04 hours (or 002.45 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.06 hours (or 003.53 minutes) - ThinkPad L390 i5 4x2 24GB RAM 00.07 hours (or 004.43 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.10 hours (or 006.23 minutes) - ThinkPad E540 i7 4x2 16GB RAM 32-bit distro 00.12 hours (or 007.32 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.29 hours (or 017.10 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING master = yes nls = disabled purge = no # This is a critical package setpaths = libgmp, mpfr, pcre ssizemax = yes tmpsize = 378M #--------------------------------------------------------------------- [depends] actools:forward bison:forward flex:forward gawk:forward grep:forward libgmp:forward mpfr:forward patch:forward sed:forward none #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE mkdir -p $PKGDIR_PROD/{bin,lib,man/man1} DISALTO="--disable-lto" if [ "@$LACARCH" == "@glibc32" ]; then DISALTO="--disable-lto"; fi if [ "@$LACARCH" == "@musl32" ]; then DISALTO="--disable-lto"; fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-nls \ --enable-gold=no \ --mandir=$MANBASE \ $DISALTO #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin rm -fr $PKGDIR_PROD/info cd $BINDIR STRIPTEMP=striptemp cp -p strip $STRIPTEMP ./$STRIPTEMP strip rm $STRIPTEMP # This is a kludge. cd $PKGDIR_PROD/*-*/bin/ for x in ar as ld nm objdump ranlib strip do rm -f $x ln -nsf ../../bin/$x $x done pushd $BINDIR rm -f ld.bin mv ld ld.bin # Future: Review this if [ "x$LACARCH" == "x" ]; then echo Error: binutils foo exit 1 fi sed -e "s@__META_LACARCH__@$LACARCH@g" \ < /laclin/sysutil/toolchain/wrapld.txt \ > ld chmod 755 ld ln -nsf ld ld.bfd #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/binutils url_home = http://sources.redhat.com/binutils/ url_lfs = http://www.linuxfromscratch.org/lfs/view/stable/\ chapter05/binutils-pass1.html url_tarball = http://ftp.gnu.org/gnu/binutils/\ binutils-2.42.tar.bz2 #--------------------------------------------------------------------- [history] 170501 Updated from 2.25 to 2.26.1 170518 Updated to 2.28 171114 Updated to 2.28.1 190818 Updated to 2.32 210127 Updated to 2.34 230407 Updated to 2.40 241028 Updated to 2.42