|
| |
| | DAV's Endian FAQ |
 | | * */ #ifdef linux #define LITTLE_ENDIAN /* Intel x86 processors running Linux >=.99p7. |  | | */ #endif #ifdef wrltitan #define LITTLE_ENDIAN /* A DEC-WRL titan research machine (only 20 exist). |  | | */ #ifdef m68k #define mc68000 #endif /* Both Sun3 and SPARC machines turn on LITTLE_ENDIAN!!! |
|
http://www.rdrop.com/~cary/html/endian_faq.html
|
|
| |
| | Is my Machine Big or Little Endian? |
 | | little_endian = (BYTE(1, 0, 1))[0] IF (little_endian) THEN $ Print, "I'm little endian." ELSE $ Print, "I'm big endian." |  | | Why should the endian nature of your machine matter to you? |
|
http://www.dfanning.com/tips/endian_machines.html
|
|
| |
| | Embedded.com - Introduction to Endianness |
 | | #error "One of BIG_ENDIAN or LITTLE_ENDIAN must be #define'd." |  | | A common solution to the endianness problem associated with networking is to define a set of four preprocessor macros: htons(), htonl(), ntohs(), and ntohl(), as shown in Listing 1. |
|
http://www.embedded.com/story/OEG20011220S0064
|
|
| |
| | Google Search: little_endian |
 | | No, The LAPS code is designed to work on a little_endian machine without any need |  | | If you use VBO u should set ByteOrder to LITTLE_ENDIAN on Intel... |  | | If you use VBO u should set ByteOrder to LITTLE_ENDIAN on Intel platform. |
|
http://little_endian.networklive.org
|
|
| |
| | Computer Graphics FAQ's |
 | | Look at the following function: #define BIG_ENDIAN 0 #define LITTLE_ENDIAN 1 int TestByteOrder(void) { short int word = 0x0001; char *byte = (char *) &word; return(byte[0] ? |  | | If our code could tell what the endianness of the system was at run-time, it could choose (using function pointers) what set of read/write functions to use. |  | | LITTLE_ENDIAN : BIG_ENDIAN); } This code assigns the value 0001h to a 16-bit integer. |
|
http://www.bergen.org/AAST/ComputerAnimation/Help_FAQs_File4.html
|
|
| |
| | Patch: NAS_LITTLE_ENDIAN [was: NAS related source code error?] |
 | | + NAS_USES_OWN_NAMESPACE means NAS headers define NAS_LITTLE_ENDIAN + instead of LITTLE_ENDIAN etc. */ #undef HAVE_NAS_SOUND #undef NAS_NO_ERROR_JUMP +#undef NAS_USES_OWN_NAMESPACE /* Compile in support for SunPro usage-tracking code? |  | | NAS_NO_ERROR_JUMP means that the NAS libraries don't include some - error handling changes. |
|
http://list-archive.xemacs.org/xemacs-patches/200008/msg00003.html
|
|
| |
| | Re: big_endian vs little_endian |
 | | Posted by I Made Aria Bagus Pramana on 9 Aug 01, 2:49 MT, in response to big_endian vs little_endian, posted by Jim Edwards on 1 Apr 99, 14:36 MT |
|
http://laps.noaa.gov/laps-users/?read=113
|
|
| |
| | Re: big_endian vs little_endian |
 | | Posted by Steve Albers on 30 Aug 99, 14:34 MT, in response to big_endian vs little_endian, posted by Jim Edwards on 1 Apr 99, 14:36 MT |
|
http://laps.fsl.noaa.gov/laps-users?read=18
|
|
|