delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/18/17:53:09

X-Recipient: archive-cygwin AT delorie DOT 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 AT x-ray DOT 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 AT cygwin DOT com
Subject: Re: Cygwin + Python: unable to remap
References: <4C92746C DOT 5080809 AT x-ray DOT at> <AANLkTi=4W89oYwR5D+G-scouZXof5EhxJhONyAJGCqGi AT mail DOT gmail DOT com> <AANLkTi=bG2S2ZkJ-p-WWHhFM9RwY7P25MA35boA7Sf20 AT mail DOT gmail DOT com> <loom DOT 20100916T225518-627 AT post DOT gmane DOT org> <AANLkTinEhA5XdLQwDSk73sBOLKvnmCED-PWjM3vgovji AT mail DOT gmail DOT com> <loom DOT 20100917T043659-431 AT post DOT gmane DOT org> <AANLkTikdMz4Fo-1qauhHxgQsNA=NNecLgrsZTxiTzdL+@mail.gmail.com> <AANLkTinwT+YxJ5-cE73U2ZCspCkfSCOs82JVxW0myUue AT mail DOT gmail DOT com> <20100917110644 DOT GA4048 AT tishler DOT net> <AANLkTinKUeB-zQ8sb4mpf=OsY-uRwOVMJMb=SaRKRyn+@mail.gmail.com> <20100917161821 DOT GA1756 AT tishler DOT net> <AANLkTik1WM6XefwhXu+spLXkkQ5KZjxUqZM6LnEP=rOk AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTik1WM6XefwhXu+spLXkkQ5KZjxUqZM6LnEP=rOk@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019