This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
How to configure for MIPS n64 build?
- From: "Kaz Kylheku" <kaz at zeugmasystems dot com>
- To: <libc-ports at sources dot redhat dot com>
- Date: Thu, 19 Oct 2006 16:27:05 -0700
- Subject: How to configure for MIPS n64 build?
I'm trying to build a 64 bit MIPS libc. It seems to be working, but I
hacked it using CFLAGS and ASFLAGS.
Is there a better way?
First I tried: CFLAGS="-g -O2 -mabi=64"
Oops, the configure test which tests ld for --version-script fails. Why?
Because an assembly language file is built without -mabi=64, but then a
link is attempted on it with -mabi=64. If this test fails, that's a
showstopper, because VERSIONING is disabled.
Then:
# hack
CFLAGS="-g -O2 -mabi=64"
ASFLAGS=$CFLAGS
This seems to be working. No configure complaints, and it's compiling
away.
What's everyone else doing?