delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/01/15:35:39

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: <Pine DOT SUN DOT 3 DOT 91 DOT 970525141803 DOT 4960c-100000 AT is> <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

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 <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford

What's the wizard's password for? (dunnet)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019