www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Shared Library, that is when ?

reply "bioifornatics" <bioifornatics fedoraproject.org> writes:
Dear,

I know vthat D community dev works hard. I would like to know
when provide shared Shared Library will become a priority ?
I know you could say do it ( i know … ) but my job is to package
tools. Sorry …
Partial shared lib give too many random bug as this one:
https://github.com/ldc-developers/ldc/issues/596#issuecomment-40141711

Please finish this feature.

Thanks

Kind regards
Apr 11 2014
next sibling parent "bachmeier" <no spam.com> writes:
On Friday, 11 April 2014 at 23:15:13 UTC, bioifornatics wrote:
 Dear,

 I know vthat D community dev works hard. I would like to know
 when provide shared Shared Library will become a priority ?
 I know you could say do it ( i know … ) but my job is to package
 tools. Sorry …
 Partial shared lib give too many random bug as this one:
 https://github.com/ldc-developers/ldc/issues/596#issuecomment-40141711

 Please finish this feature.

 Thanks

 Kind regards

I use DMD to make shared libraries on Linux all the time. Is there a reason you have to use LDC?
Apr 11 2014
prev sibling next sibling parent "bioifornatics" <bioifornatics fedoraproject.org> writes:
On Saturday, 12 April 2014 at 00:16:26 UTC, bachmeier wrote:
 On Friday, 11 April 2014 at 23:15:13 UTC, bioifornatics wrote:
 Dear,

 I know vthat D community dev works hard. I would like to know
 when provide shared Shared Library will become a priority ?
 I know you could say do it ( i know … ) but my job is to 
 package
 tools. Sorry …
 Partial shared lib give too many random bug as this one:
 https://github.com/ldc-developers/ldc/issues/596#issuecomment-40141711

 Please finish this feature.

 Thanks

 Kind regards

I use DMD to make shared libraries on Linux all the time. Is there a reason you have to use LDC?

Because LDC has a free license that is a nust have to be allowed to put a package into fedora. ( I package for fedora)
Apr 11 2014
prev sibling next sibling parent "Joakim" <dlang joakim.airpost.net> writes:
On Saturday, 12 April 2014 at 00:53:27 UTC, bioifornatics wrote:
 On Saturday, 12 April 2014 at 00:16:26 UTC, bachmeier wrote:
 On Friday, 11 April 2014 at 23:15:13 UTC, bioifornatics wrote:
 Dear,

 I know vthat D community dev works hard. I would like to know
 when provide shared Shared Library will become a priority ?
 I know you could say do it ( i know … ) but my job is to 
 package
 tools. Sorry …
 Partial shared lib give too many random bug as this one:
 https://github.com/ldc-developers/ldc/issues/596#issuecomment-40141711

 Please finish this feature.

 Thanks

 Kind regards

I use DMD to make shared libraries on Linux all the time. Is there a reason you have to use LDC?

Because LDC has a free license that is a nust have to be allowed to put a package into fedora. ( I package for fedora)

This question belongs in the ldc forum then. I don't know all about how well ldc works with shared libraries on linux, but the recent ldc 0.13.0 alpha updates druntime with some better linux shared library support. The commit you mentioned using was probably from the older 2.063.2 trunk branch: have you tried the newer 2.064.2 branch?
Apr 13 2014
prev sibling parent "David Nadlinger" <code klickverbot.at> writes:
On Sunday, 13 April 2014 at 10:00:56 UTC, Joakim wrote:
 This question belongs in the ldc forum then.  I don't know all 
 about how well ldc works with shared libraries on linux, but 
 the recent ldc 0.13.0 alpha updates druntime with some better 
 linux shared library support.  The commit you mentioned using 
 was probably from the older 2.063.2 trunk branch: have you 
 tried the newer 2.064.2 branch?

Somebody needs to sit down and iron out the kinks in either case. The problem of shared library loading is complex enough that Martin's implementation likely won't "just work". David
Apr 13 2014