--- gcc/configure.orig Sun Apr 18 02:33:12 1999 +++ gcc/configure Wed Apr 21 17:32:59 1999 @@ -3022,6 +3022,15 @@ thread_file='posix' fi ;; + alpha*-*-freebsd*) + tm_file="${tm_file} freebsd.h alpha/freebsd.h" + xm_file="${xm_file} xm-freebsd.h" + target_cpu_default="MASK_GAS" + tmake_file="t-freebsd alpha/t-crtbe" + xmake_file=none + fixincludes=fixinc.wrap + gas=yes gnu_ld=yes + ;; alpha*-*-netbsd*) tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h" target_cpu_default="MASK_GAS" @@ -3500,19 +3509,19 @@ # Next line turned off because both 386BSD and BSD/386 use GNU ld. # use_collect2=yes ;; - i[34567]86-*-freebsdelf*) - tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h" + i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd[12] | i[34567]86-*-freebsdaout*) + tm_file=i386/freebsd-aout.h + tmake_file=t-freebsd + ;; + i[34567]86-*-freebsd[3-9].* | i[34567]86-*-freebsd[3-9] | i[34567]86-*-freebsd* | i[34567]86-*-freebsdelf*) + tm_file="i386/i386.h i386/freebsd.h i386/perform.h" # On FreeBSD, the headers are already ok, except for math.h. fixincludes=fixinc.wrap extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" - tmake_file=i386/t-freebsd + tmake_file=t-freebsd gas=yes gnu_ld=yes stabs=yes - ;; - i[34567]86-*-freebsd*) - tm_file=i386/freebsd.h - tmake_file=i386/t-freebsd ;; i[34567]86-*-netbsd*) tm_file=i386/netbsd.h