Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Jon Leichter" <jon@symas.com>
To: <cygwin@sourceware.cygnus.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
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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@symas.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

