On Wed, Sep 23, 2009 at 11:21 PM, Taylor R Campbell <campb...@mumble.net> wrote: > Does the new definition of STRING-HEAD! work when building an x86-64 > LIARC from an i386 LIAR, or is this worked around because those C > files are thrown out after they're used to build the real ones on the > target, and because nothing in the compiler (presumably) uses > STRING-HEAD! ?
I don't know the answer, but I'm guessing that when you cross-compile from an i386 to an x86-64 that the C files are generated with the expectation that a 64-bit C compiler will compile them (whether cross compiled from i386 or native compiled on the target machine). > Also, why don't we just teach LIAR to open-code > SET-STRING-MAXIMUM-LENGTH! ? I can't imagine it is worth the effort and pain. You don't want to build too much knowledge of object representation into the compiler unless you really need it. Open coding would save the function call and some argument shuffling, but you'd still be doing the other work. -- ~jrm _______________________________________________ MIT-Scheme-devel mailing list MIT-Scheme-devel@gnu.org http://lists.gnu.org/mailman/listinfo/mit-scheme-devel