This is the mail archive of the
mailing list for the GCC project.
Re: patch to fix i386 FreeBSD and NetBSD TARGET_DEFAULT
- To: John Wehle <john at feith dot com>
- Subject: Re: patch to fix i386 FreeBSD and NetBSD TARGET_DEFAULT
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 20 Mar 1999 01:47:39 -0700
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199903192115.QAA01177@jwlab.FEITH.COM>you write:
> Just curious about the status of the below patch:
> > ChangeLog:
> > Tue Nov 3 22:47:16 EST 1998 John Wehle (email@example.com)
> > * i386/freebsd.h (TARGET_DEFAULT): Define instead
> > of TARGET_CPU_DEFAULT.
> > * i386/netbsd.h (TARGET_DEFAULT): Likewise.
> It fixes places where the desired default is TARGET_NO_FANCY_MATH_387
> which should be set in TARGET_DEFAULT not in TARGET_CPU_DEFAULT.
I thought I had sent back a response asking what the patch was actually
supposed to do since it didn't include that information.
Apparently that's not the case :-)
What might be better is to set "target_cpu_default" in configure.in
then remove the TARGET_CPU_DEFAULT definitions.
That way you don't have to override TARGET_DEFAULT.
Any reason not to do that?
[ In general, using target_cpu_default from configure.in is meant to
try and simplify and reduce the complexity and number of target