Hello! Andy Wingo <wi...@pobox.com> 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’.