delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/15/19:00:43

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Ross Patterson <me AT rpatterson DOT net>
Subject: Cygwin Python/PIL TCL/TK fork rebase solution
Followup-To: gmane.os.cygwin
Date: Mon, 15 Jan 2007 15:42:40 -0800
Lines: 23
Message-ID: <87ejpvluvj.fsf@superfluity.lefae.org>
Mime-Version: 1.0
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)
Cc: python-list AT python DOT org
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I recently was forced to build PIL under Cygwin Python 2.4.3 and ran
into the Cygwin fork/rebase issue with TCL/TK yet again.
Unfortunately, none of the rebase workarounds I found through my
copious STFWing worked this time.

Through trial and error I found that the following worked:

rebase -b 0x1000000000 /bin/tk84.dll

I post this here mostly for documenatation so that others can find a
more current solution than what's already available through STFWing.

But I'm also curious about rebase and to understand more about how one
chooses what base address and offset to use.  In my trial and error I
found that the default base address of 0x70000000 didn't work, nor did
the value of 0x68000000 I found through my STFWing.  I found the value
of 0x1000000000 by incrementing from 0x10000000 to 0x20000000 to
0x30000000 and so on until I found one that worked.

So if anyone wants to explain to me how to choose base address and
offset values, that would be cool.

Ross


--
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/

- Raw text -


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