delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/17/07:07:18

X-Recipient: archive-cygwin AT delorie DOT 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 AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin + Python: unable to remap
Message-id: <20100917110644.GA4048@tishler.net>
Mail-followup-to: cygwin AT cygwin DOT com
References: <AANLkTin7p83cXtmpEkNruTQPPM_5swh=_6U-Od3wH6Bc AT mail DOT gmail DOT com> <AANLkTiko81Fw_vjib__K3-y6VbwCFrG=n_KMHOCjYCNY AT mail DOT gmail DOT com> <4C92746C DOT 5080809 AT x-ray DOT at> <AANLkTi=4W89oYwR5D+G-scouZXof5EhxJhONyAJGCqGi AT mail DOT gmail DOT com> <AANLkTi=bG2S2ZkJ-p-WWHhFM9RwY7P25MA35boA7Sf20 AT mail DOT gmail DOT com> <loom DOT 20100916T225518-627 AT post DOT gmane DOT org> <AANLkTinEhA5XdLQwDSk73sBOLKvnmCED-PWjM3vgovji AT mail DOT gmail DOT com> <loom DOT 20100917T043659-431 AT post DOT gmane DOT org> <AANLkTikdMz4Fo-1qauhHxgQsNA=NNecLgrsZTxiTzdL+@mail.gmail.com> <AANLkTinwT+YxJ5-cE73U2ZCspCkfSCOs82JVxW0myUue AT mail DOT gmail DOT com>
MIME-version: 1.0
In-reply-to: <AANLkTinwT+YxJ5-cE73U2ZCspCkfSCOs82JVxW0myUue@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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

- Raw text -


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