Re: 1.25.0: aarch64-unknown-linux-gnu with neon support

Chris Packham via crossgcc <[email protected]> Mon, 13 Jun 2022 21:24:18 +1200
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <CAFOYHZBLtxg1=tAW=aT-f3fNpaHpXQpFUTQCWL7gionb1pT41Q@mail.gmail.com>
On Mon, Jun 13, 2022 at 2:29 PM Zvi Vered via crossgcc
<[email protected]> wrote:
>
> Hello,
>
> I ran:
> ct-ng aarch64-unknown-linux-gnu
> but with this configuration, under "Target options" I can't set FPU.
>
>  How can I create gcc for armv8 (coretex A53), 64bit  with the option:
> -mfpu=neon

The aarch64 configs don't use the FPU option (I think because the FPU
is required by the ARMv8 spec). Instead you probably want to use the
-mcpu/-mtune options as per
https://gcc.gnu.org/onlinedocs/gcc-12.1.0/gcc/AArch64-Options.html#AArch64-Options

>
> Thank you,
> Zvika
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
--
For unsubscribe information see http://sourceware.org/lists.html#faq