From: | Dave Lloyd <Dave@occl-cam.demon.co.uk> |
Newsgroups: | comp.compilers |
Date: | 7 Feb 1997 23:39:01 -0500 |
Organization: | Compilers Central |
Keywords: | MSDOS, linker |
> [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).
OS/2 DLLs are an order better and allow code and data to be exported
without penalty (again with tight visibility control including ordinal
reference as well as symbolic reference).
ELF shared-objects are however rather more primitive (and require to be
compiled PIC, yeuch!) but can do similar service - I believe gcc under
linux can control which symbols are exported when a shared-object is
bound.
Regards,
----------------------------------------------------------------------
Dave Lloyd mailto:Dave@occl-cam.demon.co.uk
Oxford and Cambridge Compilers Ltd http://www.occl-cam.demon.co.uk/
Cambridge, England http://www.chaos.org.uk/~dave/
[This is way off topic, though I'm happy to get the answer to my question,
so I'd better end this thread. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.