www.digitalmars.com         C & C++   DMDScript  

D.gnu - using shared runtime and phobos

reply "ketmar" <ketmar ketmar.no-ip.org> writes:
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.
Mar 30 2014
next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
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.
Mar 31 2014
prev sibling parent "ketmar" <ketmar ketmar.no-ip.org> writes:
 This is not presently in the configure/build scripts.  These 
 will be
 updated when there exists runtime support for shared libraries.

take and write patches? i hardly need this feature, but have closely to none knowledge of D/GCD compiler internals.
Mar 31 2014