compiling file 3.26

John Zheng Yien@usa.net
Sun Mar 7 13:37:00 GMT 1999


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 <tab> in the original source
files were translated to <spaces> 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 <errno.h>
> > >
> > > 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
> 


More information about the Cygwin mailing list