[MLton] [iI]sBigEndian necessary?

Stephen Weeks MLton@mlton.org
Mon, 13 Dec 2004 10:45:07 -0800

> What I think makes the most sense is to make isBigEndian a _constant. It's
> easy to detect endian in the C program which generates the constants file.
> That way, you can have a target mipsel-linux and mipseb-linux which differ
> simply in the gcc settings (for endian) and the constants file which lists
> on or the other.
> What do you think?

Makes perfect sense.

> I also think it makes sense to use C to grab the preferred alignment for
> every fundamental type and throw that into the constants file too.