From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Why does gcc make such big binaries? Date: 27 May 1997 13:17:56 GMT Organization: Oxford University, England Message-ID: <5memu4$t2g@news.ox.ac.uk> References: <338a6512 DOT 1103304 AT news DOT nol DOT net> NNTP-Posting-Host: sable.ox.ac.uk Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Lonnie McCullough (lonniem AT cs DOT utexas DOT edu) wrote: : Does anyone know where to find information on dynamic linking and it's : implementation. You could start by looking at the code for DXEs in DJGPP; this might even provide a base for you to extend. AFAIK they were only hacked together to the stage where the floating point emulation could be loaded at run-time, and there are severe restrictions on what you can/cannot do in the .dxe files (I think C library routines are not allowed, for instance). But it might give you some ideas for how to make a start. : I sorta know it in the context of Windows but am not : quite sure how the resolving of addresses of variables and functions : works across dll/exe boundries. (i.e. how does the exe know where the : code for the functions is even after it's been loaded by LoadLibrary?) : I just need some information on dynamic linking. A URL? Anything. You could look around Microsoft's homepage; they have examples and descriptions of their file formats which again might give you some ideas for where to start. -- George Foot Merton College, Oxford What's the wizard's password for? (dunnet)