delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/05/00:56:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Jon Leichter" <jon AT symas DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Specifying a base address
Date: Thu, 4 Nov 1999 20:54:02 -0800
Message-ID: <000001bf2749$c7e9afe0$a0418218@bass.we.mediaone.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Forgive me if this has been asked before. I searched the archives but didn't
come up with an answer.

With the Cygwin set of compiler utilities, how does one go about setting the
base image address for a DLL?

Is there a particular tool that I can use to change the base image address
after the DLL is built? For instance, MSVC provides a tool called EDITBIN that
does just that. (By the way, I tried to use EDITBIN on a DLL that I built with
gcc, and EDITBIN failed).

If there is no tool, is there a way to specify the base address at link time?
Do I need to provide a .def file for this?

Thanks in advance.

Jon Leichter
jon AT symas DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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