Andreas Enge <andr...@enge.fr> skribis: > Am Mittwoch, 20. Februar 2013 schrieb Nikita Karetnikov: >> > Could you maybe provide some, Nikita? >> Sure. But what should I do? >> Should I adjust '%bootstrap-glibc' somehow? > > I think adding something like > (arguments > '(#:configure-flags > (list "CFLAGS=-march=mips64 -mabi=64"))) > to %bootstrap-glibc or maybe %glibc-for-bootstrap (whatever is used to > obtain the bootstrap glibc) should do the trick.
It’s %glibc-for-bootstrap in make-bootstrap.scm. You would actually add those CFLAGS to the configure flags already in there. > Then maybe the same is needed for the other bootstrap programs. > > For gcc, I would give the same options as I tried in gcc-boot0 instead, > that is, (list "--with-arch=mips64" "--with-abi=64"). > > Ludovic, what do you think? Well, what matters most is glibc, because one you have it’s enough to build gcc-boot0 to N64. Now, for consistency, it may be easier to rebuild all of them in 64 bit. Thanks, Ludo’.