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.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 12795 invoked from network); 16 Feb 2022 11:32:49 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 16 Feb 2022 11:32:49 -0000 Received: (qmail 12242 invoked by uid 550); 16 Feb 2022 11:32:47 -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 12210 invoked from network); 16 Feb 2022 11:32:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=WzFt/g286E1b4JaiZnhYH0uLRjfdERr3mIxKP25MqWU=; b=PD8cGukPLTAVWazqrtFaYKYb8RiexVo3pC6IuS8TFff29rZNk81MWEkSnQvui9W4gU IeOo9o+t3sRHOtx+tdFPKli6fih4ThmMR6CAoMHxvSqg0xHcZzwsNNchyHGz07By1k02 eLG1tzxFxwUcQ5YCnfFqTr/QPKJmg1Bfk1jqy5IZ80qyCAWnSg+c2PzkPk9rLoxA6Dih gJTbLtgaHWauUhhLkD86k0fhCLrnd2MOSahXNvt2251s9UhcK51isU6xn7uPl9sRdVqb dpjU586DGa53WY22tnYBTN/+JYzSRnmchWlVBAC7s/0aFGKWky049RIItfbhPEXWNF0j oGLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=WzFt/g286E1b4JaiZnhYH0uLRjfdERr3mIxKP25MqWU=; b=llYmU1XxKZMiO9NfJOk5lsC+O0x8aYH/JsXW9Nq82Q4MpOmdctkZYbGquxAWMPgeuq UAQ3z3Pns3M9uVWP6IeA+GlKI11/erSESMYbcSWlyHjLCmrav7gS71IfS7l9F2tBOFo6 szrVzEEwncMThkV5UX7XfV6QSZkxl1t11yrPwLSq8V51iGf6otsGXJLCCYofs6kaK1As ECeItRqliVjLvgI2y6S55fo81JrsvI843clT1M+gaNXeJ10WetNKK/0lX7nlsp1MHqt0 I03nImATWak0PkWCt2ralsrfivd/XjItko5+TS3dPdhns44ddWYumth3PJxAhyoPs9Z8 0KBA== X-Gm-Message-State: AOAM5312Uu74MAIynO61zeHesqMr3x+TbzLAbzL+mwr2KDpp5+NZLnAj ii0vlZw5djWAz9WCgBaZk1B20j0U/S/WEWW8tkc= X-Google-Smtp-Source: ABdhPJz5yTKp/TUwMrqdCkaifzHhvlQe13EG92B4YZZHzNVmxw7liHvSI2EM0SczEDNrN3JzROQ6G5r2+SIyH323Stw= X-Received: by 2002:a17:902:8306:b0:14d:ca2a:192e with SMTP id bd6-20020a170902830600b0014dca2a192emr1929324plb.47.1645011154582; Wed, 16 Feb 2022 03:32:34 -0800 (PST) MIME-Version: 1.0 References: <20220216112924.GG1320090@port70.net> In-Reply-To: <20220216112924.GG1320090@port70.net> From: Jeffrey Walton Date: Wed, 16 Feb 2022 06:32:23 -0500 Message-ID: To: Jeffrey Walton , SIMONE MIONE <205212@studenti.unimore.it>, musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] musl how to use hard float with aarch64-none-elf-gcc On Wed, Feb 16, 2022 at 6:29 AM Szabolcs Nagy wrote: > > * 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. Oh, you're right My bad. I did not notice it was Aarch64. Jeff