> But I have no idea if there is some simple way to hardcode the target > architecture into LuaTeX itself.
You could check the first few bytes of the LuaTeX binary itself, it has to tell you something about the architecture it was compiled for. That's what file uses in most cases anyway (the "magic numbers"). By compiling a stupid C program on both 10.5 and 10.6, I see that the first 16 bytes of the executable are, respectively: 10.5: cefa edfe 0700 0000 0300 0000 0200 0000 10.6: cffa edfe 0700 0001 0300 0080 0200 0000 Arthur ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : firstname.lastname@example.org / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________