[GRASS-dev] configure: testing arch endian
Glynn Clements
glynn at gclements.plus.com
Mon May 8 18:04:04 EDT 2006
Brad Douglas wrote:
> According to Apple, we should be including <endian.h> and test
> __BIG_ENDIAN or __LITTLE_ENDIAN. That's even simpler. Everything is
> handled by the '--host=', '--build=', and '--target=' configure
> switches.
<endian.h> isn't standard, so we would need a configure test, and an
alternative when the header isn't found.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list