[patch/rebase] Ignore 64 bit files from x86_64-w64-mingw32 toolchain

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jun 21 15:06:00 GMT 2011


Here's a simple one.

Avoid error messages due to trying to rebase 64 bit images (as long as
we can't handle them).  This has been reported multiple times on the
cygwin list.

Index: rebaseall.in
===================================================================
RCS file: /sourceware/projects/cygwin-apps-home/cvsfiles/rebase/rebaseall.in,v
retrieving revision 1.1
diff -u -p -r1.1 rebaseall.in
--- rebaseall.in	20 Jun 2011 23:27:00 -0000	1.1
+++ rebaseall.in	21 Jun 2011 15:05:11 -0000
@@ -111,6 +111,7 @@ TmpFile="$TmpDir/rebase.lst"
 find /etc/setup -name '*.lst.gz' | xargs gzip -d -c |
     grep -E "\.($Suffixes)\$" |
     sed -e '/cygwin1\.dll$/d' -e '/cyglsa.*\.dll$/d' \
+	-e '/x86_64-w64-mingw32\/sys-root\/mingw/d' \
 	-e 's/^/\//' -e '/d?ash\.exe$/d' -e '/rebase\.exe$/d' >"$TmpFile"
 
 # Append user supplied file list, if any


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-apps mailing list