https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206

--- Comment #7 from Andrew Roberts <andrewm.roberts at sky dot com> ---
I get the same thing if I just use -mcpu=native:

/usr/local/gcc/bin/gcc -o matrix-v6 -mcpu=native -mfpu=auto -O3 matrix.c
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU

I realize the aarch64 compiler does not need -mfpu=auto, but I was wondering if
it was worth at least not rejecting it so makefiles can be portable between arm
and aarch64. At present you get:

gcc: error: unrecognized command line option ‘-mfpu=auto’

and the compile fails

A Rasbperry PI Zero is the cheapest and easiest armv6 option, although it does
take 24hrs to build the compiler

Reply via email to