Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 28388 invoked by uid 6000); 11 Jul 1998 17:29:34 -0000 Received: (qmail 28380 invoked from network); 11 Jul 1998 17:29:33 -0000 Received: from zap.ne.mediaone.net (HELO zap.ml.org) (24.128.120.231) by taz.hyperreal.org with SMTP; 11 Jul 1998 17:29:33 -0000 Received: (qmail 23490 invoked by uid 1000); 11 Jul 1998 17:26:18 -0000 From: Ben Hyde MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 11 Jul 1998 13:26:18 -0400 (EDT) To: new-httpd@apache.org Subject: BASE et.al. and DLL relinking on W32 In-Reply-To: <003a01bdacec$c244f3c0$542e26cf@jteichrow.msoft.com> References: <003a01bdacec$c244f3c0$542e26cf@jteichrow.msoft.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13735.40746.793252.549100@zap.ml.org> Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org thanks Jon. I recall two additional things though. A tool that if applied at install time will assure no conflicts on load, and a scheme that marks each DLL's with it's required DLLs in a manner that allows the dynamic loader to know that it doesn't have to worry AT ALL, and can just mmap the pages and be done with it. I stumbled on this by dumping the DLL's using some dump tool and noticing that the OS DLL's have thier required DLL's marked up with date stamps, but my DLLs didn't. - ben hyde Jon Teichrow writes: > I think BASE is what you're lookng for (from MSDEV help): > > The Base Address (/BASE:{address | @filename,key}) option sets a base > address for the program, overriding the default location for an .EXE file > (at 0x400000) or a DLL (at 0x10000000). The operating system first attempts > to load a program at its specified or default base address. If sufficient > space is not available there, the system relocates the program. To prevent > relocation, use the /FIXED option. > > If you are using BASE for an EXE that will run on both Win9X and > NT, you should set it to 0x400000 or higher, otherwise the Win9X > loader must relocate to a different address which increases the > loading time on Win9X. > > > -----Original Message----- > From: Ben Hyde > To: new-httpd@apache.org > Date: Saturday, July 11, 1998 9:13 AM > Subject: Re: [PATCH] Link DSO modules against possible libraries from > $(LIBS) (take 2) > > > > > >This reminds me. There are linker switchs on the NT > >that allow you to state where in the address space > >the dll is initially linked and if set up approprately > >it makes startup faster. At some point we ought > >to use these. If somebody want's tow tackle this > >I'd be happy to go dig up in my notes what the tools > >and switchs are, the story is longer than one would > >expect. - ben hyde >