4 #ifndef SDCCCONF_HEADER
5 #define SDCCCONF_HEADER
11 #undef SDCC_VERSION_STR
13 #undef DIR_SEPARATOR_STRING
14 #undef DIR_SEPARATOR_CHAR
21 #undef INCLUDE_DIR_SUFFIX
26 #undef PREFIX2DATA_DIR
28 /* environment variables */
30 #undef SDCC_INCLUDE_NAME
33 /* standard libraries */
57 /* find out the endianess of host machine */
58 #if __BIG_ENDIAN__ || _BIG_ENDIAN
59 /* 1) trust the compiler */
60 # define WORDS_BIGENDIAN 1
61 #elif __LITTLE_ENDIAN__
62 /* just in case ... */
63 #undef WORDS_BIGENDIAN
64 #elif (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
65 /* 2) trust the header files */
66 # if BYTE_ORDER == BIG_ENDIAN
67 # define WORDS_BIGENDIAN 1
70 /* 3) assume that host machine has the same endianess as the build machine */
71 # undef BUILD_WORDS_BIGENDIAN
72 # if (defined BUILD_WORDS_BIGENDIAN && BUILD_WORDS_BIGENDIAN)
73 # define WORDS_BIGENDIAN 1
75 /* 4) assume that host is a little endian machine */
78 #undef OPT_DISABLE_MCS51
79 #undef OPT_DISABLE_GBZ80
80 #undef OPT_DISABLE_Z80
81 #undef OPT_DISABLE_AVR
82 #undef OPT_DISABLE_DS390
83 #undef OPT_DISABLE_DS400
84 #undef OPT_DISABLE_TININative
85 #undef OPT_DISABLE_PIC
86 #undef OPT_DISABLE_PIC16
87 #undef OPT_DISABLE_XA51
88 #undef OPT_DISABLE_HC08
90 #undef OPT_ENABLE_LIBGC