From: | fjh@murlibobo.cs.mu.OZ.AU (Fergus Henderson) |
Newsgroups: | comp.compilers |
Date: | 8 Feb 1997 22:51:18 -0500 |
Organization: | Comp Sci, University of Melbourne |
References: | 97-02-045 |
Keywords: | MSDOS, linker |
Dave Lloyd <Dave@occl-cam.demon.co.uk> writes:
>> [Do DLLs still have to work with no static data? I recall that as
>> being one of their more inconvenient shortcomings. -John]
>
>NT DLLs require subsequent code to do something special to access
>imported static data (sort of analogous to the jump table used for code
>imports).
Do the NT compilers do this subsequent fancy footwork automatically,
or does it require explicit programmer intervention?
(Specifically, how about the gnu-win32 gcc for NT?)
>[This is way off topic, though I'm happy to get the answer to my question,
>so I'd better end this thread. -John]
I think discussion of DLLs and shared libraries is highly on-topic for
this group. As a practicing compiler writer I'm very interested in
this stuff. Shared libraries are an important optimization technique.
Trying to implement support for shared libraries on a bunch of
different systems is a very difficult job, mostly because every system
does shared libraries differently, but partly also because good
documentation is hard to come by.
--
Fergus Henderson <fjh@cs.mu.oz.au>
WWW: <http://www.cs.mu.oz.au/~fjh>
PGP: finger fjh@128.250.37.3
[Good point, discuss away. What I was thinking off-topic was specific warts
of the Windows DLL implementations. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.