Oct. 1, 2012
2:33 p.m.
On 01.10.2012 14:43, Sven Van Caekenberghe wrote:
On 01 Oct 2012, at 14:01, Henrik Sperre Johansen <henrik.s.johansen@veloxit.no> wrote:
Endianness in header depends on the platform the image was saved on. Which for all practical purposes, means little-endian these days. How can an image be cross-platform, but the header not ?
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
IIRC, because the VM checks which endianness the header is written in (by comparing to known image formats in big and little-endian format), and then triggering a swap of all pointers/variableWord objects when loading the image on a differing platform. Cheers, Henry