guile-devel
[Top][All Lists]
Advanced

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

Re: Cross-compiling Guile 2.0


From: Ludovic Courtès
Subject: Re: Cross-compiling Guile 2.0
Date: Fri, 27 May 2011 16:51:28 +0200
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)

Hello!

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?

Thanks,
Ludo’.



reply via email to

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