This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] S/390: Make enable-decimal-float the default
On Thu, 25 Feb 2010, Andreas Krebbel wrote:
> Hi,
>
> > The list of targets is in three places (gcc/, libdecnumber/, libgcc/).
> > They all need updating together. (You might want to create a shared
> > configure macro, although it would need to deal with checking $host in
> > libgcc and $target in the other directories.)
>
> here is a revised version using a newly introduced macro called
> GCC_DFP_TARGET_IFELSE.
I was hoping more logic could go there, in particular the code determining
whether BID or DPD is the default for a given system. That is, you'd have
a macro that includes generating the configure option and help text, used
something like:
GCC_AC_ENABLE_DECIMAL_FLOAT([$target])
or
GCC_AC_ENABLE_DECIMAL_FLOAT([$host])
--
Joseph S. Myers
joseph@codesourcery.com