# gasp/cfg - Build settings for "gasp" #--------------------------------------------------------------------- [technotes] 1. In the past, the standard "binutils" package included a tool named "gasp". "gasp" was a macro preprocessor. The "binutils" developers dropped "gasp" as of "binutils" 2.14. The rationale was that "gasp" wasn't needed, because GNU "as" provided similar functionality. How- ever, "as" wasn't a direct replacement for "gasp", and this meant that projects that used "gasp" with other assemblers (such as "as86") were orphaned. To address the issue, this distro revives "gasp" and builds it as a separate package. #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 001.65 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.90 minutes) - HP EliteBook 8560w 32GB RAM 00.04 hours (or 002.55 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.11 hours (or 006.32 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] exepack = yes fortran = disabled license = GNU General Public License, version 2 (June 1991) nls = disabled tmpsize = 42M unpack = relaxed #--------------------------------------------------------------------- [depends] actools binutils bison3 gawk grep perl:forward sed #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE mkdir -p $PKGDIR_PROD/{bin,man/man1} for x in binutils etc gas gprof ld do rm -fr $x sed -e "s|@if $x|@if no$x|" \ -e "s|@endif $x|@endif no$x|" \ -i Makefile.in done bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-nls \ --mandir=$MANBASE #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir -p $BINDIR make bzip2 -cd $PKGDIR_SPECIAL/gasplives.tar.bz2 | tar xf - cd gasp gcc -DHAVE_CONFIG_H -D_GNU_SOURCE \ -I../bfd -I./config -I../include -I.. -I../intl \ -DLOCALEDIR="\"/no-locale-directory\"" \ -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 \ -c gasp.c hash.c macro.c sb.c libtool --tag=CC --mode=link gcc \ -W -Wall -Wstrict-prototypes -Wmissing-prototypes \ -g -O2 -o gasp \ gasp.o {hash,macro,sb}.o \ ../bfd/libbfd.la ../libiberty/libiberty.a cp -p gasp $BINDIR/ cp -p $PKGDIR_SPECIAL/gasp.1 $PKGDIR_PROD/man/man1/ #--------------------------------------------------------------------- # 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.16.1.tar.bz2