|
Message-ID: <CAH8yC8=8VoNi-WkfoqFLmOtNYKqN35FNivEE+9ehK1wjrL5P5w@mail.gmail.com> Date: Wed, 16 Feb 2022 05:24:48 -0500 From: Jeffrey Walton <noloader@...il.com> To: musl@...ts.openwall.com Subject: Re: musl how to use hard float with aarch64-none-elf-gcc On Wed, Feb 16, 2022 at 4:51 AM SIMONE MIONE <205212@...denti.unimore.it> wrote: > > I am trying to integrate musl in a baremetal environment. I already have float support but I can't manage to disable soft-float by musl. > > I configure with: > ./configure --target=aarch64-none-elf --enable-debug --disable-shared > And simple compile with: > make > > Does anyone know how to use hardfloat instead of soft float? Is there any option or flag? Thank you The GCC options for hard-floats are -mfpu=neon -mfloat-abi=hard. In later versions of GCC, you can also use -mfpu=auto (sometimes). You usually stuff them in CFLAGS and CXXFLAGS during make or when you setup the environment before running configure. Jeff
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.