From: Aaron Patterson Date: 2005-12-06T03:50:04+09:00 Subject: Determining endianness in extconf.rb Hi. Hopefully this is the right list for this question! I am writing an extension for Ruby in C, and I need to determine the endianness of the machine and set a flag when I compile. What is the best way to go about this? I've seen examples of determining endianness but I don't know how to set the flag in extconf.rb Any help would be greatly appreciated. Thank you! --Aaron