delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [68.122.75.139] |
X-Originating-Email: | [rkitover AT hotmail DOT com] |
X-Sender: | rkitover AT hotmail DOT com |
From: | "Rafael Kitover" <rkitover AT hotmail DOT com> |
To: | "'Cygwin List'" <cygwin AT cygwin DOT com> |
Subject: | Question about default base address and offset for rebasing DLLs |
Date: | Wed, 10 Dec 2003 01:38:03 -0800 |
MIME-Version: | 1.0 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Message-ID: | <Law9-OE66fdMmMUVrHx000073c2@hotmail.com> |
X-OriginalArrivalTime: | 10 Dec 2003 09:38:06.0581 (UTC) FILETIME=[50ABBA50:01C3BF01] |
I noticed that the /bin/rebaseall script assumes the following: DefaultBaseAddress=0x70000000 DefaultOffset=0x10000 Is this going to be the standard base and offset for DLLs in Cygwin? Is this then a reasonable thing to include in the Cygwin hints file for my Perl project: package MY; sub MY::dynamic_lib { my $target = shift->SUPER::dynamic_lib(@_); if (defined $target && $target && -e '/bin/rebase') { $target .= <<'EOF'; rebase -v -d -b 0x70000000 -o 0x10000 $@ EOF } $target; } This appends the rebase command to the Makefile target that builds the dll. I've had some mapping problems when building Perl extensions without this in the hints file. Will binutils eventually rebase things to some sort of standard as well? -- Rafael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |