bug-guix
[Top][All Lists]
Advanced

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

Re: Porting to anything


From: Andreas Enge
Subject: Re: Porting to anything
Date: Thu, 21 Feb 2013 10:56:57 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Donnerstag, 21. Februar 2013 schrieb Ludovic Courtès:
> Isn’t it equally unsatisfying?  :-)

Exactly, whence my message.

> Yes.  I outlined a plan in
> <http://lists.gnu.org/archive/html/bug-guix/2013-01/msg00099.html>.
> 
> However, I really think cross-compilation is the way to go.

Your plan in the message above sounds good, and implementable rather 
quickly. From my manual experiments over the past two weeks with cross 
compiling, I am less optimistic about the feasability of the second 
suggestion. Doing everything with the "native" tools (coming from a debian 
installation, for instance, which is widely ported) on the target machine 
sounds much easier.

The devil is really in the details. Just looking at the totally different 
ways of obtaining statically linked binaries for the different gnu projects 
we need for bootstrapping makes me weary of big integrated plans. In my 
naivety, I thought it would be enough to add "--enable-static --disable-
shared" as configure flags, but one ends up patching Makefile.in, adding 
LDFLAGS or AM_LDFLAGS, and working around subtle bugs here and there... So 
let us go for the easiest path, and your first suggestion is very close to 
what is already there.

Andreas



reply via email to

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