This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: revised patch was Re: [PATCH] configure mips*-linux and soft-float...
On Fri, Nov 07, 2003 at 02:08:55PM -0800, David Daney wrote:
> Eric Christopher wrote:
>
> >>I forget to say that without this patch --with-float= seems to have no
> >>effect on the built compiler.
Well, that's the problem then.
It should already work. Particularly, from mips.h:
#define OPTION_DEFAULT_SPECS \
{"arch", "%{!march=*:%{mips16:-march=%(VALUE)}%{!mips*:-march=%(VALUE)}}" }, \
{"tune", "%{!mtune=*:-mtune=%(VALUE)}" }, \
{"abi", "%{!mabi=*:-mabi=%(VALUE)}" }, \
{"float", "%{!msoft-float:%{!mhard-float:-m%(VALUE)-float}}" }
And from config.gcc:
mips*-*-*)
supported_defaults="abi arch float tune"
Does the generated configargs.h have an entry for float? If so, what's
wrong with the specs that causes it not to work?
Setting target_cpu_default2 should, I hope, not be necessary any more.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer