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 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> <20100917110644 DOT GA4048 AT tishler DOT net> <20100917161821 DOT GA1756 AT tishler DOT net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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