README for gas-1.38.1.tar.gz This is the unmodified GNU GAS 1.38 distribution. To build GAS 1.38 to generate 68k code on a NetBSD system: Create a symbolic link from m-generic.h to m68k.h. Apply the patch below to Makefile. Run 'make'. The gas executable is called 'a68'. George Harvey 22nd April 1999 diff -c -r ./Makefile ../../gas-1.38/Makefile *** ./Makefile Thu Oct 18 21:26:42 1990 --- ../../gas-1.38/Makefile Tue Feb 3 22:24:38 1998 *************** *** 25,31 **** # If you are on a BSD system, un-comment the next two lines, and comment out # the lines for SystemV and HPUX below ! G0 = -g -I. #-O -Wall LDFLAGS = $(CFLAGS) # # To compile gas on a System Five machine, comment out the two lines above --- 25,31 ---- # If you are on a BSD system, un-comment the next two lines, and comment out # the lines for SystemV and HPUX below ! G0 = -O -I. #-O -Wall LDFLAGS = $(CFLAGS) # # To compile gas on a System Five machine, comment out the two lines above *************** *** 108,118 **** # (This option is automatically enabled when building the sparc assembler. # ! O1 = -DNO_VARARGS O2 = # -DNON_BROKEN_WORDS O3 = # -Dm68851 O4 = # -DEXEC_VERSION=1 ! O5 = # -DSIGTY=void O6 = # -DNS32532 O6 = # -DNS32381 O7 = # -DDOT_LABEL_PREFIX --- 108,118 ---- # (This option is automatically enabled when building the sparc assembler. # ! O1 = # -DNO_VARARGS O2 = # -DNON_BROKEN_WORDS O3 = # -Dm68851 O4 = # -DEXEC_VERSION=1 ! O5 = -DSIGTY=void O6 = # -DNS32532 O6 = # -DNS32381 O7 = # -DDOT_LABEL_PREFIX