[Issue 9684] rdmd -lib <filename> produces corrupted file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 9 19:28:03 UTC 2021


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
I just tried this on Linux with `rdmd build 20201024` (distributed with LDC
v1.24). I made `libraryFunction` extern(C) for simplicity and tried to compile
the final executable with `{dmd,ldc2} main.d mylib.a`. Both calls worked, so
closing as WORKSFORME.

--


More information about the Digitalmars-d-bugs mailing list