mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jeffrey Walton <noloader@gmail.com>
To: Jeffrey Walton <noloader@gmail.com>,
	SIMONE MIONE <205212@studenti.unimore.it>,
	 musl@lists.openwall.com
Subject: Re: [musl] musl how to use hard float with aarch64-none-elf-gcc
Date: Wed, 16 Feb 2022 06:32:23 -0500	[thread overview]
Message-ID: <CAH8yC8=VWVzWRC39B-bwkP7U=MSsGAJ47AnoxKWgV0c0XLBUQw@mail.gmail.com> (raw)
In-Reply-To: <20220216112924.GG1320090@port70.net>

On Wed, Feb 16, 2022 at 6:29 AM Szabolcs Nagy <nsz@port70.net> wrote:
>
> * Jeffrey Walton <noloader@gmail.com> [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.

Oh, you're right My bad. I did not notice it was Aarch64.

Jeff

  reply	other threads:[~2022-02-16 11:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16  9:50 SIMONE MIONE
2022-02-16 10:24 ` Jeffrey Walton
2022-02-16 11:29   ` Szabolcs Nagy
2022-02-16 11:32     ` Jeffrey Walton [this message]
2022-02-16 11:59       ` SIMONE MIONE
2022-02-16 14:57         ` Rich Felker
2022-02-25 15:21           ` SIMONE MIONE
2022-02-25 16:41             ` Damian McGuckin
2022-02-25 16:48               ` SIMONE MIONE
2022-02-25 18:01             ` Rich Felker
2022-03-01  8:36               ` SIMONE MIONE
2022-03-01 13:10                 ` Rich Felker
2022-03-25  9:08                   ` SIMONE MIONE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH8yC8=VWVzWRC39B-bwkP7U=MSsGAJ47AnoxKWgV0c0XLBUQw@mail.gmail.com' \
    --to=noloader@gmail.com \
    --cc=205212@studenti.unimore.it \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).