X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B18F846.60300@cs.umass.edu>
Date: Fri, 04 Dec 2009 06:53:42 -0500
From: Eliot Moss <moss@cs.umass.edu>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Confusion re: use of rebaseall vs. rebase to relieve BitDefender   woes
References: <4B18A593.3020502@nc.rr.com>
In-Reply-To: <4B18A593.3020502@nc.rr.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dear Ed -- I posted this a couple of days ago under another
thread. Here is the rebase procedure that works for me:

/bin/rebase -d -b 0x61000000 -o 0x20000 -v -T <file with list of dll and so files> > rebase.out

and

/bin/peflags -d0 -v -T <file with list of dll and so files> > peflags-d.out
/bin/peflags -t0 -v -T <file with list of exe files>        > peflags-t.out

Note particularly the base and -o values, and be sure the check the
output. Also, you have to do all this under ash, etc., and build a
list of files first with find (or just list particular directories'
files). I found there ae one or two files I had to exclude because
rebase halts on them.

Best wishes -- Eliot Moss

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

