[Issue 4071] Missing support to share memory and objects between DLLs and executable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 7 11:47:08 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4071
--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> 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 DLL and the functions that must exist per
binary:
- move moduleCtor/Dtor, etc. from object_.di into new file moduleinit.d (had to
copy some ModuleInfo (back?) declarations to object.di to compile)
- move extern(C) main() from dmain2.d into new file cmain.d
- exclude __LDBLULLNG() in llmath.d because it is already in snn.lib
- build druntime.obj with "-exportall" instead of druntime.lib excluding
moduleinit.d, cmain.d and a few more
- extracted stuff from dll_helper.d into new file shared_dll_helper.d and added
a few more functions to support patching relocations
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list