Thread overview
using shared runtime and phobos
Mar 30, 2014
ketmar
Mar 31, 2014
Iain Buclaw
Mar 31, 2014
ketmar
March 30, 2014
can i tell gdc to build and use shared druntime and phobos libraries? it's ok for me to install gdc system-wide, and i don't like huge compiled D binaries which won't share the same code.

i tried '--enable-shared', but it have no effect.

is there any configure option to force gdc to build and use libdruntime.so and libphobos2.so instead of *.a?

i'm using gcc 4.8.2.
March 31, 2014
On 30 March 2014 19:23, ketmar <ketmar@ketmar.no-ip.org> wrote:
> can i tell gdc to build and use shared druntime and phobos libraries? it's ok for me to install gdc system-wide, and i don't like huge compiled D binaries which won't share the same code.
>
> i tried '--enable-shared', but it have no effect.
>
> is there any configure option to force gdc to build and use libdruntime.so and libphobos2.so instead of *.a?
>

This is not presently in the configure/build scripts.  These will be updated when there exists runtime support for shared libraries.
March 31, 2014
> This is not presently in the configure/build scripts.  These will be
> updated when there exists runtime support for shared libraries.
is there anything i can help with? i.e. some directions i can take and write patches? i hardly need this feature, but have closely to none knowledge of D/GCD compiler internals.