[Issue 17390] Pass flags to linker driver without -Xlinker

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 14 00:39:19 UTC 2018


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

Timothee Cour <timothee.cour2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2 at gmail.com

--- Comment #3 from Timothee Cour <timothee.cour2 at gmail.com> ---
ping on this.

this would enable:

* same motivations as https://github.com/ldc-developers/ldc/issues/2093
(Passing options directly to CC)


* makes it easier to switch back and forth between clang build command line and
D build command line, by prepending linker arguments with `-Xcc=`, eg:

```
dmd -Xcc=-Wl,-rpath,some_rpath,-lfoo,-Lbar
``

--


More information about the Digitalmars-d-bugs mailing list