I don't think Ice has ever been built for ARM. We've built IceE for ARM in the past, however, so taking a look there might be helpful.
As to endian.h, I don't think its all that helpful. The header isn't part of glibc, and is not part of any any standard that I'm aware of. Also endianess is hardly the primary stopper in porting to a new OS and architecture
