Changeset 593
- Timestamp:
- 08/02/10 23:55:41 (14 years ago)
- Files:
-
- branches/dmd-1.x/src/backend/cdef.h (modified) (1 diff)
- trunk/src/backend/cdef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/dmd-1.x/src/backend/cdef.h
r577 r593 120 120 */ 121 121 122 122 /* Solaris Version 123 123 * ------------- 124 124 * There are two main issues: hosting the compiler on Solaris, 125 125 * and generating (targetting) Solaris executables. 126 126 * The "__sun", "__SVR4" and "__GNUC__" macros control hosting issues 127 127 * for operating system and compiler dependencies, respectively. 128 128 * To target Solaris executables, use ELFOBJ for things specific to the 129 129 * ELF object file format, and TARGET_SOLARIS for things specific to 130 130 * the Solaris memory model. 131 131 * If this is all done right, one could generate a Solaris object file 132 132 * even when compiling on win32, and vice versa. 133 133 * The compiler source code currently uses these macros very inconsistently 134 134 * with these goals, and should be fixed. 135 135 */ 136 136 137 137 #ifndef CDEF_H 138 138 #define CDEF_H 1 139 139 140 #define VERSION "8.5 2.5" // for banner and imbedding in .OBJ file141 #define VERSIONHEX "0x85 2" // for __DMC__ macro142 #define VERSIONINT 0x85 2// for precompiled headers and DLL version140 #define VERSION "8.53.0" // for banner and imbedding in .OBJ file 141 #define VERSIONHEX "0x853" // for __DMC__ macro 142 #define VERSIONINT 0x853 // for precompiled headers and DLL version 143 143 144 144 145 145 /*********************************** 146 146 * Target machine types: 147 147 */ 148 148 149 149 #define TX86 1 // target is Intel 80X86 processor 150 150 #define TARGET_68K 0 // target is a 68K processor 151 151 #define TARGET_POWERPC 0 // target is a PPC processor 152 152 #define TARGET_MAC 0 // target is a macintosh 153 153 154 154 // Set to 1 using the makefile 155 155 #ifndef TARGET_LINUX 156 156 #define TARGET_LINUX 0 // target is a linux executable 157 157 #endif 158 158 159 159 // Set to 1 using the makefile 160 160 #ifndef TARGET_OSX 161 161 #define TARGET_OSX 0 // target is an OSX executable 162 162 #endif trunk/src/backend/cdef.h
r577 r593 120 120 */ 121 121 122 122 /* Solaris Version 123 123 * ------------- 124 124 * There are two main issues: hosting the compiler on Solaris, 125 125 * and generating (targetting) Solaris executables. 126 126 * The "__sun", "__SVR4" and "__GNUC__" macros control hosting issues 127 127 * for operating system and compiler dependencies, respectively. 128 128 * To target Solaris executables, use ELFOBJ for things specific to the 129 129 * ELF object file format, and TARGET_SOLARIS for things specific to 130 130 * the Solaris memory model. 131 131 * If this is all done right, one could generate a Solaris object file 132 132 * even when compiling on win32, and vice versa. 133 133 * The compiler source code currently uses these macros very inconsistently 134 134 * with these goals, and should be fixed. 135 135 */ 136 136 137 137 #ifndef CDEF_H 138 138 #define CDEF_H 1 139 139 140 #define VERSION "8.5 2.5" // for banner and imbedding in .OBJ file141 #define VERSIONHEX "0x85 2" // for __DMC__ macro142 #define VERSIONINT 0x85 2// for precompiled headers and DLL version140 #define VERSION "8.53.0" // for banner and imbedding in .OBJ file 141 #define VERSIONHEX "0x853" // for __DMC__ macro 142 #define VERSIONINT 0x853 // for precompiled headers and DLL version 143 143 144 144 145 145 /*********************************** 146 146 * Target machine types: 147 147 */ 148 148 149 149 #define TX86 1 // target is Intel 80X86 processor 150 150 #define TARGET_68K 0 // target is a 68K processor 151 151 #define TARGET_POWERPC 0 // target is a PPC processor 152 152 #define TARGET_MAC 0 // target is a macintosh 153 153 154 154 // Set to 1 using the makefile 155 155 #ifndef TARGET_LINUX 156 156 #define TARGET_LINUX 0 // target is a linux executable 157 157 #endif 158 158 159 159 // Set to 1 using the makefile 160 160 #ifndef TARGET_OSX 161 161 #define TARGET_OSX 0 // target is an OSX executable 162 162 #endif
