home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / 3b1 / 4424 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.8 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!sgiblab!swrinde!elroy.jpl.nasa.gov!nntp-server.caltech.edu!andy
  2. From: andy@cs.caltech.edu (Andy Fyfe)
  3. Newsgroups: comp.sys.3b1
  4. Subject: Re: Taylor uucp 1.4 gamma on 3B1 with TCP (long)
  5. Date: 28 Jan 1993 02:22:52 GMT
  6. Organization: California Institute of Technology
  7. Lines: 46
  8. Message-ID: <1k7g1sINNoll@gap.caltech.edu>
  9. References: <1993Jan20.045619.1333@d-and-d.com> <1993Jan21.123039.8504@ohare.Chicago.COM> <1993Jan23.050509.7515@d-and-d.com>
  10. NNTP-Posting-Host: kodiak.cs.caltech.edu
  11.  
  12. In article <1993Jan23.050509.7515@d-and-d.com> dnichols@d-and-d.com (DoN. Nichols) writes:
  13. [Don raises valid questions about gcc, and whether or not the include
  14. files have been fixed by fixincludes.  On some systems, like sun, this
  15. is essential, unless you use the -traditional option to gcc.]
  16.  
  17. I ran fixincludes from gcc 1.42 on the include files on my system, which
  18. is 3.50.  It found nothing that needed changed.
  19.  
  20. I also ran fixincludes from gcc 2.3.3.  It did find some changes.  They
  21. were
  22.     1) All references to "vax" (#ifdef vax, etc) were changed to
  23.        "__vax__".  Fixincludes does not know to look for "mc68k",
  24.        which is what the 3b1 defines.  This is needed if you use
  25.        the -pedantic option of gcc, since predefined names like
  26.        "vax" and "mc68k" are not used.
  27.     2) All references to "#define NULL 0" had "#undef NULL" inserted
  28.        before them (even when the #define was inside "#ifndef NULL").
  29.     3) <stdio.h> was modified to include <stdarg.h>.  This would be
  30.        needed if stdio attempted to give a prototype for v*printf.
  31.     4) The definition of size_t is <sys/types.h> had
  32.        "#ifndef _GCC_SIZE_T", "#define _GCC_SIZE_T" and "#endif"
  33.        inserted around it.  This is probably to straighten out
  34.        the interaction of <sys/types.h> with <stddef.h>.
  35.     5) Two comments in <sys/user.h> were botched.  There are a
  36.        pair of back to back comments, and fixincludes thought
  37.        /*...*//*...*/ contained the C++ comment indicator //,
  38.        so it created /*...*/*...*/*/, which isn't right.
  39. It doesn't appear that any of these changes is absolutely necessary.
  40.  
  41. One change I'll make for the next version of gcc 2.x is to define
  42. SIZE_TYPE to be int, rather than letting it default to long unsigned
  43. int, so as to match the definition in <sys/types.h>.  (Is it an int
  44. in other versions of the OS?)
  45.  
  46. So far so good, but this only applies to 3.50.
  47.  
  48. Could I enlist the aid of others who have different versions of the
  49. include files (either from a different version of the OS, or include
  50. files from another package) to check those as well?  Then we can add
  51. a note to the gcc distribution about what might need to be changed,
  52. for future generations of 3b1 users.
  53.  
  54. Andy Fyfe                    andy@cs.caltech.edu
  55.  
  56. P.S.  I've checked the uipc headers.  They're fine, according to
  57. both versions of fixincludes.
  58.