X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Ross Patterson 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 Content-Type: text/plain; charset=us-ascii 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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/