This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compile and install bugs on irix


Texinfo caused some problems on cygwin too.
This patch was necessary to build 2.95 pre 
on cygwin with text!=binary mounts :

*** makeinfo.c.original Sat Jun 26 11:57:49 1999
--- makeinfo.c Wed Jun 30 18:30:18 1999
***************
*** 1240,1245 ****
--- 1240,1248 ----
    long file_size;
    int file = -1, count = 0;
    char *fullpath, *result, *get_file_info_in_path ();
+ #if defined (VMS) || defined (WIN32) || defined (__CYGWIN__)
+  int n;
+ #endif
  
    result = fullpath = (char *)NULL;
  
***************
*** 1262,1268 ****
       readable bytes is always less than this value.  The arcane
       mysteries of VMS/RMS are too much to probe, so this hack
      suffices to make things work. */
! #if defined (VMS) || defined (WIN32)
  #ifdef VMS
    while ((n = read (file, result + count, file_size)) > 0)
  #else /* WIN32 */
--- 1265,1271 ----
       readable bytes is always less than this value.  The arcane
       mysteries of VMS/RMS are too much to probe, so this hack
      suffices to make things work. */
! #if defined (VMS) || defined (WIN32) || defined (__CYGWIN__)
  #ifdef VMS
    while ((n = read (file, result + count, file_size)) > 0)
  #else /* WIN32 */



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]