This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]