bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting to mips64el


From: Ludovic Courtès
Subject: Re: Porting to mips64el
Date: Wed, 20 Feb 2013 21:03:50 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Andreas Enge <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]