* Multiple libgcc builds for MIPS target
@ 2002-10-01 11:00 jon
0 siblings, 0 replies; only message in thread
From: jon @ 2002-10-01 11:00 UTC (permalink / raw)
To: gcc-help
Hi,
I'm building a cross compiler for an x86 host/build system and a MIPS
target. Ideally, I'd like to be able to target both MIPS32 and MIPS64 -
and no matter whether I configure gcc with mips32-*-elf or mips64-*-elf,
the resulting compiler seems capable of producing assembler for both
platforms. However, when it comes to linking with libgcc, the error
message "ISA mismatch (-mips32) with previous modules (-mips3)" (or
similar) appears.
MIPS32 and MIPS64 do indeed have different ABIs, so this message is
understandable - but results only because gcc is compiling libgcc only for
the architecture it's configured for. So, my question: Is it possible to
persuade gcc to compile both MIPS32 and MIPS64 versions of libgcc.a, or do
I need to compile two gccs (one for 32, one for 64) in order to achieve my
goal of targeting both architectures?
--
Jon Bright
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-01 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01 11:00 Multiple libgcc builds for MIPS target jon
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).