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 andsoft-float...
>
> It should already work. Particularly, from mips.h:
>
This is what I missed the first time :)
> #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?
Yes. This should work.
-eric
--
Eric Christopher <echristo@redhat.com>