public inbox for
 help / color / mirror / Atom feed
* MIPS soft/hard float multilib
@ 2019-06-28 16:27 Petr Cvek
  0 siblings, 0 replies; only message in thread
From: Petr Cvek @ 2019-06-28 16:27 UTC (permalink / raw)
  To: crossgcc


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-28 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28 16:27 MIPS soft/hard float multilib Petr Cvek

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).