Menu

#23 Error: unrecognized switch '-n'

v2.0
open
nobody
None
7
2011-09-12
2011-09-12
eftewuer
No

D-IDE version:
Local D-IDE Version: 2011-09-11 23:00:58
Online D-IDE Version: 2011-09-11 23:00:58

DMD versions: 2.054 and 2.055

Problem description:
If you try to build static lib project you get the following error: Error: unrecognized switch '-n'

Here is output from my simple project:
> (22:25:15) Compile D:\work\d-lang\DataLib\Car.d
D:\tools\dmd2\windows\bin\dmd.exe -c "D:\work\d-lang\DataLib\Car.d" -of"D:\work\d-lang\DataLib\obj\Car.obj" -I"D:\tools\dmd2\src\phobos" -I"D:\tools\dmd2\src\druntime\import" -gc -debug
> (22:25:15) Process ended with code 0
> (22:25:15) Link files to D:\work\d-lang\DataLib\bin\DataLib.lib
D:\tools\dmd2\windows\bin\dmd.exe -c -n -of"D:\work\d-lang\DataLib\bin\DataLib.lib" "obj\Car.obj"
> (22:25:15) Process ended with code 1
Error: unrecognized switch '-n'

Discussion

  • eftewuer

    eftewuer - 2011-09-12

    Increased priority

     
  • eftewuer

    eftewuer - 2011-09-12
    • priority: 5 --> 7