gdc shared library build

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 5 11:04:46 PDT 2014


Am Fri, 05 Sep 2014 18:14:20 +0100
schrieb Russel Winder via Digitalmars-d <digitalmars-d at puremagic.com>:

>  Thus I have to specify forcing lookup in
> libphobos2.so. Is this easy?

This is the easy part, but you also need a libgphobos2.so first ;-)

As ketmar said this is not implemented in GDC yet. I've filed a
pull request with some initial work, but I'm busy with other stuff
right now so I can't finish it.

https://github.com/D-Programming-GDC/GDC/pull/83

Main issues remaining:

* Requires changes to binutils linker scripts to locate ModuleInfo. We
  need to decide whether we submit patches to binutils or try to find
  some other way (like in ldc or dmd).
* There are some unresolved bugs with PIC codegen, 2 test cases fail.


More information about the Digitalmars-d mailing list