Mail Archives: cygwin-apps/2000/11/24/05:31:55
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C055D7.7FFB9E60
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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.
------=_NextPart_000_001E_01C055D7.7FFB9E60
Content-Type: application/octet-stream;
name="texinfo-4.0-cygwin.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="texinfo-4.0-cygwin.patch"
diff -C 2 -r -x *.pot -x *~ -x Makefile texinfo-4.0/lib/system.h =
texinfo-4.0-new/lib/system.h=0A=
*** texinfo-4.0/lib/system.h Sat Jul 17 17:11:34 1999=0A=
--- texinfo-4.0-new/lib/system.h Sun Nov 19 17:22:09 2000=0A=
***************=0A=
*** 135,139 ****=0A=
#endif /* O_BINARY */=0A=
=0A=
! #if O_BINARY=0A=
# include <io.h>=0A=
# ifdef __MSDOS__=0A=
--- 135,139 ----=0A=
#endif /* O_BINARY */=0A=
=0A=
! #if O_BINARY && !defined(__CYGWIN__)=0A=
# include <io.h>=0A=
# ifdef __MSDOS__=0A=
***************=0A=
*** 167,172 ****=0A=
#else /* not O_BINARY */=0A=
# define SET_BINARY(f) (void)0=0A=
! # define FOPEN_RBIN "r"=0A=
! # define FOPEN_WBIN "w"=0A=
# define IS_SLASH(c) ((c) =3D=3D '/')=0A=
# define HAVE_DRIVE(n) (0)=0A=
--- 167,177 ----=0A=
#else /* not O_BINARY */=0A=
# define SET_BINARY(f) (void)0=0A=
! # if defined(__CYGWIN__)=0A=
! # define FOPEN_RBIN "rb"=0A=
! # define FOPEN_WBIN "wb"=0A=
! # else=0A=
! # define FOPEN_RBIN "r"=0A=
! # define FOPEN_WBIN "w"=0A=
! # endif=0A=
# define IS_SLASH(c) ((c) =3D=3D '/')=0A=
# define HAVE_DRIVE(n) (0)=0A=
diff -C 2 -r -x *.pot -x *~ -x Makefile texinfo-4.0/makeinfo/files.c =
texinfo-4.0-new/makeinfo/files.c=0A=
*** texinfo-4.0/makeinfo/files.c Tue Mar 23 16:42:44 1999=0A=
--- texinfo-4.0-new/makeinfo/files.c Sun Nov 19 17:28:55 2000=0A=
***************=0A=
*** 169,173 ****=0A=
while ((n =3D read (file, result + count, file_size)) > 0)=0A=
#else /* !VMS */=0A=
! #ifndef WIN32=0A=
while ((n =3D read (file, result + count, file_size)) > 0)=0A=
#else /* WIN32 */=0A=
--- 169,173 ----=0A=
while ((n =3D read (file, result + count, file_size)) > 0)=0A=
#else /* !VMS */=0A=
! #if !defined(WIN32) && !defined(__CYGWIN__)=0A=
while ((n =3D read (file, result + count, file_size)) > 0)=0A=
#else /* WIN32 */=0A=
------=_NextPart_000_001E_01C055D7.7FFB9E60--
- Raw text -