Richard, Thanks for your feedback.
I conclude from it that it's not worth it to introduce code to support configuring --with-fpu=auto, so I'm going ahead and installing just the obvious configury bits I'd posted before. On Jun 12, 2019, Alexandre Oliva <ol...@adacore.com> wrote: > So, any objections to my installing this then, or even now, if > --with-fpu=auto shouldn't be accepted? fix ARM --with-fpu option checking and error message Fix the test for failure in parsecpu's checking of the --with-fpu argument, and the error message that gets printed when the check fails. for gcc/ChangeLog * config.gcc: Fix ARM --with-fpu checking and error message. --- gcc/config.gcc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index fda048dc12b1..7119698779fd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4002,12 +4002,13 @@ case "${target}" in # see if --with-fpu matches any of the supported FPUs if [ x"$with_fpu" != x ] ; then + val=$with_fpu fpu=`awk -f ${srcdir}/config/arm/parsecpu.awk \ - -v cmd="chkfpu $with_fpu" \ + -v cmd="chkfpu $val" \ ${srcdir}/config/arm/arm-cpus.in` - if [ "$fpu" = "error"] + if [ "$fpu" = "error" ] then - echo "Unknown target in --with-$which=$val" 1>&2 + echo "Unknown target in --with-fpu=$val" 1>&2 exit 1 fi fi -- Alexandre Oliva, freedom fighter he/him https://FSFLA.org/blogs/lxo Be the change, be Free! FSF Latin America board member GNU Toolchain Engineer Free Software Evangelist Hay que enGNUrecerse, pero sin perder la terGNUra jamás - Che GNUevara