Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Sun, 7 Mar 1999 16:37:09 -0500 (EST) From: John Zheng X-Sender: Yien AT viking DOT cris DOT com To: Corinna Vinschen cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: compiling file 3.26 In-Reply-To: <36E2D7B7.CB124407@cityweb.de> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1920142745-1203250163-920842629=:26765" --1920142745-1203250163-920842629=:26765 Content-Type: TEXT/PLAIN; charset=US-ASCII Okay, I've figured it out now... First, it should be clarified on the GNUWin32.txt page that the file3.26-patch file is found at ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20 and not at ftp.astron.com/pub/file. Perhaps just a general note up top that patch files done by Corinna are found at ftp.franken.de. Also, I had problems applying the patch because in the original source files were translated to in the file3.26-patch file, and a couple extra line feeds were added. I've attached a modified file3.26-patch file that works. One more question. When I compile file.exe, my resulting file.exe ends up being 382,463 bytes. The version you have on your ftp server is only 23,552 bytes. How do you get the compile to make it so small? John On Sun, 7 Mar 1999, Corinna Vinschen wrote: > Corinna Vinschen wrote: > > > > John Zheng wrote: > > > > > > Ah yes, > > > > > > Adding the line > > > > > > #include > > > > > > to the file file.h did the trick. It also worked, and may be more "correct," > > > to add the line to the files file.c, fsmagic.c, and compress.c. Perhaps the > > > need to make one of these changes should be documented at > > > http://aquarius.franken.de/docs/develop/gnuwin32/GNUWin32.txt? > > > > Yes, should be done so. > > BTW: On my ftp site, you already could find a `file3.26-patch'! > The README, which is also part of the GNUWin32.txt, contains the > lines: > > - preliminaries > - patch file `file3.26-patch' included > > Regards, > Corinna > --1920142745-1203250163-920842629=:26765 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="file3.26-patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: att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Y2x1ZGUgImNvbmZpZy5oIg0KICNl bmRpZg0KQEAgLTQwLDcgKzQxLDEzIEBADQogIyBlbmRpZg0KICNlbmRpZg0K ICNpZm5kZWYJbWFqb3IJCQkvKiBpZiBgbWFqb3InIG5vdCBkZWZpbmVkIGlu IHR5cGVzLmgsICovDQorI2lmIGRlZmluZWQoX19DWUdXSU4zMl9fKSB8fCBk ZWZpbmVkKF9fQ1lHV0lOX18pDQorI2RlZmluZSBtYWpvcihkZXYpICgoKHVu c2lnbmVkKSAoZGV2KSk+PjgpDQorI2RlZmluZSBtaW5vcihkZXYpICgoZGV2 KSYweGZmKQ0KKyNkZWZpbmUgbWFrZWRldihtYWpvcixtaW5vcikgKCgobWFq b3IpPDw4KXwobWlub3IpKQ0KKyNlbHNlDQogI2luY2x1ZGUgPHN5cy9zeXNt YWNyb3MuaD4JLyogdHJ5IHRoaXMgb25lLiAqLw0KKyNlbmRpZg0KICNlbmRp Zg0KICNpZm5kZWYJbWFqb3IJLyogc3RpbGwgbm90IGRlZmluZWQ/IGdpdmUg dXAsIG1hbnVhbCBpbnRlcnZlbnRpb24gbmVlZGVkICovDQoJCS8qIElmIGNj IHRyaWVzIHRvIGNvbXBpbGUgdGhpcywgcmVhZCBhbmQgYWN0IG9uIGl0LiAq Lw0K --1920142745-1203250163-920842629=:26765 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --1920142745-1203250163-920842629=:26765--