From: Rick M. <obj...@gm...> - 2008-02-19 20:23:05
|
I'm reworking the code that flattens and saves the program image. Part of this process is construction of a version header that let's the interpreter know if this is a valid image or not. The details of this header have been somewhat platform-specific, and I'd like to make it part of the portable code kernel. There are really 3 factors that determine whether a saved program can be used on a particular system: 1) The image version number (easy to handle), 2) the platform word size (we're already setting a __REXX64__ #define in our header files...that one is easy), and finally 3) the "endian" nature of data on the platform. #3 is the one we don't have yet. I see autoconf has a test for ENDIANness ( http://www.gnu.org/software/autoconf/manual/autoconf.html) that can be used, but I've not figured out the magic incantations yet for getting that stuff to work. David, any chance you could find a few minutes to add this so that an appropriate value is set for the non-Windows platforms? Rick |