Add the rebase.exe tool to be able to fix msys-1.0.dll
commit71f78b1816e3ff841f737672d43af36d099cb26f
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 8 Jan 2011 13:22:30 +0000 (8 14:22 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 17 Jan 2011 12:45:02 +0000 (17 13:45 +0100)
tree7a2b2df4bebdb00e92c328e358d3444e2fd63ef8
parentf393039001335f6ea713ef33c36ef40bf84f530b
Add the rebase.exe tool to be able to fix msys-1.0.dll

Depending on your setup, the base address of msys-1.0.dll might clash
with other .dll files' addresses. The symptom looks like this:

assertion "!inheap (s)" failed: file "../../../../src/winsup/cygwin/cygheap.cc", line 309

This was the case with 32-bit Ubuntu and WINE for this here developer,
for example.

In such a case, simply fire up cmd.exe, change the working directory to
$MSYSGIT_ROOT/bin and execute something like

..\mingw\bin\rebase -b 0x67000000 msys-1.0.dll

The rebase.exe tool was cherry-picked from the 'full' branch, where it
was built from /src/rebase/.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
mingw/bin/rebase.exe [new file with mode: 0644]