[Issue 18390] New: Allow to set the linker via a CLI flag

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 7 16:38:50 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18390

          Issue ID: 18390
           Summary: Allow to set the linker via a CLI flag
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Keywords: bootcamp
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com

On Linux both GCC and LLVM (aka clang) work with DMD.
It would be nice to be able to set the default linker by a CLI flag (like the
CC environment variable)

See also:

https://github.com/dlang/dmd/blob/7e8bea0e83314f39b8c8b2bddbfbff2b0bdee74d/src/dmd/link.d#L420
https://github.com/dlang/dlang.org/pull/2068#discussion_r166515672

--


More information about the Digitalmars-d-bugs mailing list