X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4C9534BA.7050306@x-ray.at>
Date: Sat, 18 Sep 2010 23:52:58 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygwin + Python: unable to remap
References: <4C92746C.5080809@x-ray.at>	<AANLkTi=4W89oYwR5D+G-scouZXof5EhxJhONyAJGCqGi@mail.gmail.com>	<AANLkTi=bG2S2ZkJ-p-WWHhFM9RwY7P25MA35boA7Sf20@mail.gmail.com>	<loom.20100916T225518-627@post.gmane.org>	<AANLkTinEhA5XdLQwDSk73sBOLKvnmCED-PWjM3vgovji@mail.gmail.com>	<loom.20100917T043659-431@post.gmane.org>	<AANLkTikdMz4Fo-1qauhHxgQsNA=NNecLgrsZTxiTzdL+@mail.gmail.com>	<AANLkTinwT+YxJ5-cE73U2ZCspCkfSCOs82JVxW0myUue@mail.gmail.com>	<20100917110644.GA4048@tishler.net>	<AANLkTinKUeB-zQ8sb4mpf=OsY-uRwOVMJMb=SaRKRyn+@mail.gmail.com>	<20100917161821.GA1756@tishler.net> <AANLkTik1WM6XefwhXu+spLXkkQ5KZjxUqZM6LnEP=rOk@mail.gmail.com>
In-Reply-To: <AANLkTik1WM6XefwhXu+spLXkkQ5KZjxUqZM6LnEP=rOk@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; 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

Al schrieb:
>> Or, read from stdin as follows:
>>
>>     $ "something that generates extra DLL list" | rebaseall -T - ...
>
> As example, "something that gernates extra DLL list" looks in my case like this.
>
> PREFIX=/home/prefix/gentoo
> find $PREFIX/bin/ -name *.dll -o -name *.so
> find $PREFIX/lib/ -name *.dll -o -name *.so
> find $PREFIX/usr/bin -name *.dll -o -name *.so
> find $PREFIX/usr/lib -name *.dll -o -name *.so
>
> It turned out that not all files have write access. So a similar
> script is required to add write access first.

You should really check out /bin/perlrebase which is a simple
application of a perl-based rebaseall with -T and more.

For python you might need to write a similar script.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

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

