By the way,
In terms of patching texinfo-4.0, you also need to edit lib/system.h,
otherwise you get the msdos/win32 style path separator, tmp directory,
etc.
Here is the patch I use myself.
Cheers.
All that's required is a simple ./configure [--prefix=/blah]
no special flags to gcc, or modifications. i use gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-4/specs
gcc driver version 2.95.2-4 19991024 (cygwin experimental) executing gcc
version 2.95.2-5
which is straight from the cygwin setup.exe...
cheers,
edward.
texinfo-4.0-cygwin.patch