please recommend books or articles on cross-platform portable code

I have know some items on cross-platform portable
byte order
alignment

I don't know if there are books or articles on this topic.
your recommendation is appreciated

Endianness - Wikipedia, the free encyclopedia
Dr. Bill's Notes on "Little Endian" vs. "Big Endian"

For a start...