Changeset 94

Show
Ignore:
Timestamp:
09/11/06 21:54:05 (2 years ago)
Author:
Gregor
Message:

Untested path mangling functions.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bcd.gen/bcd/gen/bcdgen.d

    r92 r94  
    2727module bcd.gen.bcdgen; 
    2828 
    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; 
     29version (Windows) { 
     30    import common.path; 
     31} else { 
     32    import std.path; 
     33
     34 
     35import std.file; 
     36import std.process; 
     37import std.stdio; 
     38import std.stream; 
     39import std.string; 
    3540 
    3641import std.c.stdlib; 
     
    113118    char[] gccxmlExe; 
    114119    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"; 
    118123    } else { 
    119124        gccxmlExe = "gccxml";