This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: FreeBSD configure patch review wanted
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: FreeBSD configure patch review wanted
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Thu, 8 Jun 2000 12:16:04 -0500 (CDT)
- CC: obrien at NUXI dot com
- Reply-to: rittle at rsch dot comm dot mot dot com
Gerald asked for David's patch to be updated to include the rebuilt files.
2000-06-07 David O'Brien <obrien@FreeBSD.org>
* configure.in: Adjust FreeBSD bits to match changes to config.guess.
We now default to ELF for the i386, and a.out is the special case.
* configure: Rebuilt.
Index: configure
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure,v
retrieving revision 1.380
diff -c -p -r1.380 configure
*** configure 2000/06/06 22:04:08 1.380
--- configure 2000/06/08 17:12:34
*************** for machine in $build $host $target; do
*** 4341,4347 ****
# 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 svr4.h freebsd.h i386/freebsd-elf.h i386/perform.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=t-freebsd
--- 4341,4351 ----
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
# use_collect2=yes
;;
! i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
! tm_file="i386/freebsd.h i386/perform.h"
! tmake_file=t-freebsd
! ;;
! i[34567]86-*-freebsd*)
tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/freebsd-elf.h i386/perform.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=t-freebsd
*************** for machine in $build $host $target; do
*** 4354,4363 ****
tmake_file="${tmake_file} t-freebsd-thread"
;;
esac
- ;;
- i[34567]86-*-freebsd*)
- tm_file="i386/freebsd.h i386/perform.h"
- tmake_file=t-freebsd
;;
i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h
--- 4358,4363 ----
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/configure.in,v
retrieving revision 1.384
diff -c -p -r1.384 configure.in
*** configure.in 2000/06/06 17:36:34 1.384
--- configure.in 2000/06/08 17:12:34
*************** changequote([,])dnl
*** 1436,1443 ****
# use_collect2=yes
;;
changequote(,)dnl
! i[34567]86-*-freebsdelf*)
changequote([,])dnl
tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/freebsd-elf.h i386/perform.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=t-freebsd
--- 1436,1449 ----
# use_collect2=yes
;;
changequote(,)dnl
! i[34567]86-*-freebsd[12] | i[34567]86-*-freebsd[12].* | i[34567]86-*-freebsd*aout*)
changequote([,])dnl
+ tm_file="i386/freebsd.h i386/perform.h"
+ tmake_file=t-freebsd
+ ;;
+ changequote(,)dnl
+ i[34567]86-*-freebsd*)
+ changequote([,])dnl
tm_file="i386/i386.h i386/att.h svr4.h freebsd.h i386/freebsd-elf.h i386/perform.h"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
tmake_file=t-freebsd
*************** changequote([,])dnl
*** 1450,1461 ****
tmake_file="${tmake_file} t-freebsd-thread"
;;
esac
- ;;
- changequote(,)dnl
- i[34567]86-*-freebsd*)
- changequote([,])dnl
- tm_file="i386/freebsd.h i386/perform.h"
- tmake_file=t-freebsd
;;
changequote(,)dnl
i[34567]86-*-netbsd*)
--- 1456,1461 ----