X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0	tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 17 Sep 2010 07:06:44 -0400
From: Jason Tishler <jason@tishler.net>
To: cygwin@cygwin.com
Subject: Re: Cygwin + Python: unable to remap
Message-id: <20100917110644.GA4048@tishler.net>
Mail-followup-to: cygwin@cygwin.com
References: <AANLkTin7p83cXtmpEkNruTQPPM_5swh=_6U-Od3wH6Bc@mail.gmail.com> <AANLkTiko81Fw_vjib__K3-y6VbwCFrG=n_KMHOCjYCNY@mail.gmail.com> <4C92746C.5080809@x-ray.at> <AANLkTi=4W89oYwR5D+G-scouZXof5EhxJhONyAJGCqGi@mail.gmail.com> <AANLkTi=bG2S2ZkJ-p-WWHhFM9RwY7P25MA35boA7Sf20@mail.gmail.com> <loom.20100916T225518-627@post.gmane.org> <AANLkTinEhA5XdLQwDSk73sBOLKvnmCED-PWjM3vgovji@mail.gmail.com> <loom.20100917T043659-431@post.gmane.org> <AANLkTikdMz4Fo-1qauhHxgQsNA=NNecLgrsZTxiTzdL+@mail.gmail.com> <AANLkTinwT+YxJ5-cE73U2ZCspCkfSCOs82JVxW0myUue@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
In-reply-to: <AANLkTinwT+YxJ5-cE73U2ZCspCkfSCOs82JVxW0myUue@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Al,

On Fri, Sep 17, 2010 at 11:24:10AM +0200, Al wrote:
> > It's not that simple :)
> >
> > rebaseall only rebases the exact dll's which were installed from your
> > packager (setup.exe),
> > but not any other dll's used at run-time - shadowing system dll's as
> > in your case, or added dependencies as with perl or python.
> 
> Hmmm, that leads to the conclusion, that I have to write a customized
> rebaseall or a wrapper for it.

The rebase README indicates the following:

The following is the rebaseall command line syntax:

    rebaseall [-b BaseAddress] [-o Offset] [-T FileList | -] [-v]

where:

    -b => base address used by rebase (default: 0x70000000)
    -o => offset between each DLL rebased (default: 0x10000)
    -s => specify DLL suffix, use multiple if necessary (default: dll, so)
    -T => specify filelist (or stdin) to list additional files
    -v => verbose (default: off)

You just need to use the -T option and specify the addition DLLs to
rebase.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

