public inbox for
 help / color / mirror / Atom feed
From: Petr Cvek <>
Subject: MIPS soft/hard float multilib
Date: Fri, 28 Jun 2019 16:27:00 -0000	[thread overview]
Message-ID: <> (raw)


I would like to generate a toolchain for an MT7628 setup, which has this configuration:

-msoft-float but with possibility for -mhard-float

Is it possible to configure the crosstool-ng for both floats? I always end up with either gnu/stubs-o32_soft.h or gnu/stubs-o32_hard.h missing (these seems to be part of the glibc).

I've tried to set:

CT_CC_GCC_MULTILIB_LIST="march=24kec/mips32r2 msoft-float/mhard-float mdsp"
CT_TARGET_CFLAGS="-mdsp -march=24kec"

but it still generates only one stubs-o32 version.

Also it seems glibc gets compiled only with a default -mips32r2 flag, so later (in buildroot) linking with -mdsp objects fails as the plain mips32r2 doesn't support mdsp instructions.

GCC version 8.3.0, glibc version 2.29

Thanks for help


                 reply	other threads:[~2019-06-28 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

* 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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).