[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross-compiling Guile 2.0
From: |
Andy Wingo |
Subject: |
Re: Cross-compiling Guile 2.0 |
Date: |
Sun, 29 May 2011 20:10:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi :)
On Fri 27 May 2011 16:51, address@hidden (Ludovic Courtès) writes:
> Andy Wingo <address@hidden> skribas:
>
>> After having read "Using System Type" again in the autoconf manual, I am
>> convinced again that the right thing to do is to add a %target-type
>> fluid or mutable parameter, defaulting to the %host-type. We select how
>> to compile for the target by making decisions based on %target-type.
>> Since in Guile those decisions don't currently need to be made anywhere
>> except in compile-bytecode.scm and in bytecode->objcode in objcodes.c,
>> this is easy. In the future when the %target-type could select an
>> entirely different assembler et al, the "where" of the decisions could
>> be moved somewhat; but I think that the mechanism sounds right to me.
>
> Sounds good, but you’d need additional data that maps triplets (well,
> $host_cpu) to low-level info such as endianness and word size, right?
Yes, which caused me a bit of agony on Friday after writing that mail.
Not resolved yet. Durnit!
Andy
--
http://wingolog.org/