Cygwin Python/PIL TCL/TK fork rebase solution

R

Ross Patterson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top