[Issue 4071] Missing support to share memory and objects between DLLs and executable

2024-01-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 --- Comment #17 from Dlang Bot --- dlang/dmd pull request #15974 "fix issue 4071: improve support for shared runtime" was merged into master: - 1f4e7217e16b784684cd0e4992810fc686373b86 by Rainer Schuetze: fix issue 4071: improve support for shared

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2023-12-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Adam Wilson changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2023-06-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 --- Comment #15 from Rainer Schuetze --- > Rainer's add options -exportall and -sharedlib to dmd That's pretty outdated, here is a reboot: https://github.com/dlang/dmd/pull/14849 --

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2023-06-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 --- Comment #14 from Walter Bright --- Rainer's add options -exportall and -sharedlib to dmd Index: backend/cdef.h === --- backend/cdef.h (revision 431) +++ backend/cdef.h (wo

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2023-01-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2022-12-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2022-12-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2022-12-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2022-11-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2021-03-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Imperatorn changed: What|Removed |Added CC||johan_forsberg_86@hotmail.c |

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2021-02-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Paul Backus changed: What|Removed |Added Keywords||bounty --

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2020-06-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Mike Parker changed: What|Removed |Added CC||aldac...@gmail.com --- Comment #12 from Mike Pa

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4071 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2012-01-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #11 fro

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #10 from Rainer Schuetze 2010-04-11 05:52:26 PDT --- Circular dependencies between binaries are detected at link time, because you'll have the circular reference issue when creating the DLLs. moduleCtor() checks whether imported m

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #9 from Jacob Carlborg 2010-04-11 03:56:04 PDT --- Another question: since you have moved the module initialization into a new file and let every binary take care of its own initialization, couldn't that cause problems like circular

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #8 from Jacob Carlborg 2010-04-09 02:26:03 PDT --- That may actually a better idea, to let every binary handle its own initialization. Then I guess there will be no problem with module constructors that are run when they shouldn't.

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #7 from Rainer Schuetze 2010-04-08 14:29:59 PDT --- I'm not sure the way you did it on OSX is feasable on Windows aswell, because you might not have access to all the info in the DLLs (maybe it's possible if you export all necessar

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 Jacob Carlborg changed: What|Removed |Added CC||d...@me.com --- Comment #6 from Jacob

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #5 from Rainer Schuetze 2010-04-07 12:15:59 PDT --- forgot to mention that the patches are against dmd rev 431, druntime rev 282 and phobos rev 1477. you can build the dll by executing make -f win32.mak dll in the phobos dire

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #4 from Rainer Schuetze 2010-04-07 12:00:45 PDT --- Created an attachment (id=603) example using the shared dll This is the example from dll.html modified to work with the shared DLL. Please note that an executable/DLL needs a sl

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #3 from Rainer Schuetze 2010-04-07 11:54:49 PDT --- Created an attachment (id=602) changes to phobos to build phobos.dll The patches to phobos are more-or-less limited to the makefile and adding 2 files: - phobos: build phobos.ob

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #2 from Rainer Schuetze 2010-04-07 11:47:04 PDT --- Created an attachment (id=601) druntime support for building phobos.dll The major changes are in druntime and involve splitting files into the part that can be shared in a single

[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071 --- Comment #1 from Rainer Schuetze 2010-04-07 11:40:36 PDT --- Created an attachment (id=600) add options -exportall and -sharedlib to dmd Let's start with a few patches to dmd: 1. add option -exportall to export any mangled symbol defined