From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12396 invoked from network); 16 Feb 2022 11:29:39 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 16 Feb 2022 11:29:39 -0000 Received: (qmail 9981 invoked by uid 550); 16 Feb 2022 11:29:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9949 invoked from network); 16 Feb 2022 11:29:36 -0000 Date: Wed, 16 Feb 2022 12:29:24 +0100 From: Szabolcs Nagy To: Jeffrey Walton , SIMONE MIONE <205212@studenti.unimore.it> Cc: musl@lists.openwall.com Message-ID: <20220216112924.GG1320090@port70.net> Mail-Followup-To: Jeffrey Walton , SIMONE MIONE <205212@studenti.unimore.it>, musl@lists.openwall.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [musl] musl how to use hard float with aarch64-none-elf-gcc * Jeffrey Walton [2022-02-16 05:24:48 -0500]: > On Wed, Feb 16, 2022 at 4:51 AM SIMONE MIONE <205212@studenti.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). that's for 32bit arm there is no soft float abi for aarch64, so i'm not sure what's going on. what does 'soft-float by musl' mean?