[Issue 20244] New dmd option -preview=noXlinker does not work on Linux to build a simple D application

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 26 05:00:42 UTC 2019


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

Mike Franklin <slavo5150 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from Mike Franklin <slavo5150 at yahoo.com> ---
I'm sorry, but there is a bug in the implementation.

When you add `-L-Xlinker -L--export-dynamic` to the dmd.conf file or command
line, it actually appends `--export-dynamic --export-dynamic` instead of
`-Xlinker --export-dynamic` to the linker driver's command line.

I'll have a fix for it soon.

--


More information about the Digitalmars-d-bugs mailing list