diff dmd/backend/Config.d @ 22:fd4acc376c45

Implemented object file output and linking on linux.
author Robert Clipsham <robert@octarineparrot.com>
date Thu, 08 Apr 2010 04:21:03 +0100
parents 5c9b78899f5d
children 3f834bed4f13
line wrap: on
line diff
--- a/dmd/backend/Config.d	Wed Apr 07 00:51:29 2010 +0100
+++ b/dmd/backend/Config.d	Thu Apr 08 04:21:03 2010 +0100
@@ -62,7 +62,7 @@
 enum CFG3relax = 0x200;	// relaxed type checking (C only)
 enum CFG3cpp = 0x400;	// C++ compile
 enum CFG3igninc = 0x800;	// ignore standard include directory
-version (XXX) {///TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS) {
+version (POSIX) {///TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS) {
 enum CFG3mars = 0x1000;	// use mars libs and headers
 enum NO_FAR	= true;	// always ignore __far and __huge keywords
 } else {
@@ -129,8 +129,6 @@
 
 mixin(BringToCurrentScope!(TARGET));
 
-enum CV4 = 2;		// Codeview 4 symbolic info
-
 struct Config
 {
     char language;		// 'C' = C, 'D' = C++
@@ -195,13 +193,13 @@
 extern (C) extern __gshared Config config;
 
 enum CVNONE = 0;		// No symbolic info
-///enum CVOLD = 1;		// Codeview 1 symbolic info
-///enum CV4 = 2;		// Codeview 4 symbolic info
-///enum CVSYM = 3;		// Symantec format
-///enum CVTDB = 4;		// Symantec format written to file
-///enum CVDWARF_C = 5;		// Dwarf in C format
-///enum CVDWARF_D = 6;		// Dwarf in D format
-///enum CVSTABS = 7;		// Elf Stabs in C format
+enum CVOLD = 1;		// Codeview 1 symbolic info
+enum CV4 = 2;		// Codeview 4 symbolic info
+enum CVSYM = 3;		// Symantec format
+enum CVTDB = 4;		// Symantec format written to file
+enum CVDWARF_C = 5;		// Dwarf in C format
+enum CVDWARF_D = 6;		// Dwarf in D format
+enum CVSTABS = 7;		// Elf Stabs in C format
 
 enum CFGuchar = 1;	// chars are unsigned
 enum CFGsegs = 2;	// new code seg for each far func