[Issue 8548] relocation R_X86_64_32 against can not be used when making a shared object

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Mar 29 15:52:24 PDT 2015


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #7 from Martin Nowak <code at dawg.eu> ---
Try using this to build a shared library.

     dmd -shared -fPIC hello.d --defaultlib=libphobos2.so

--


More information about the Digitalmars-d-bugs mailing list