Changeset 94
- Timestamp:
- 09/11/06 21:54:05 (2 years ago)
- Files:
-
- trunk/bcd.gen/bcd/gen/bcdgen.d (modified) (2 diffs)
- trunk/bcd.gen/common (added)
- trunk/bcd.gen/common/path.d (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bcd.gen/bcd/gen/bcdgen.d
r92 r94 27 27 module bcd.gen.bcdgen; 28 28 29 private import std.file; 30 private import std.path; 31 private import std.process; 32 private import std.stdio; 33 private import std.stream; 34 private import std.string; 29 version (Windows) { 30 import common.path; 31 } else { 32 import std.path; 33 } 34 35 import std.file; 36 import std.process; 37 import std.stdio; 38 import std.stream; 39 import std.string; 35 40 36 41 import std.c.stdlib; … … 113 118 char[] gccxmlExe; 114 119 version (Windows) { 115 gccxmlExe = getDirName(args[0]);116 if (gccxmlExe != "") gccxmlExe ~= "\\";117 gccxmlExe ~= "gccxml_flags.exe";120 char[] dir, bname; 121 whereAmI(args[0], dir, bname); 122 gccxmlExe = dir ~ "\\gccxml_flags.exe"; 118 123 } else { 119 124 gccxmlExe = "gccxml";
