"Trass3r"  wrote in message news:fturaeslxjggkucpr...@forum.dlang.org...

Looks like a dash is missing?

ofmagicport\magicport2.exe magicport\magicport2.d magicport\ast.d magicport\scanner.d magicport\tokens.d magicport\parser.d magicport\dprinter.d magicport\typenames.d magicport\visitor.d magicport\namer.d
Error: 'ofmagicport\magicport2.exe' not found

No, HOST_DC is not set so after expansions make sees:

-ofmagicport\magicport2.exe magicport\magicport2.d magicport\ast.d
  magicport\scanner.d magicport\tokens.d  magicport\parser.d
magicport\dprinter.d  magicport\typenames.d magicport\visitor.d
magicport\namer.d

instead of
path\to\dmd -ofmagicport\magicport2.exe magicport\magicport2.d magicport\ast.d
  magicport\scanner.d magicport\tokens.d  magicport\parser.d
magicport\dprinter.d  magicport\typenames.d magicport\visitor.d
magicport\namer.d

Then removes the '-' and tries to run the compiler switch.

Reply via email to