home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / gdb / bug / 887 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.8 KB  |  53 lines

  1. Newsgroups: gnu.gdb.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!qin.berkeley.edu!talvola
  3. From: talvola@qin.berkeley.edu (Erik Talvola)
  4. Subject: Build problems with GDB-3.6 under SCO ODT
  5. Message-ID: <TALVOLA.92Jul21101655@qin.Berkeley.EDU>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: /usr/users/talvola/.organization
  8. Distribution: gnu
  9. Date: Tue, 21 Jul 1992 14:16:55 GMT
  10. Approved: bug-gdb@prep.ai.mit.edu
  11. Lines: 40
  12.  
  13. I just pulled over gdb-4.6 to the SCO box here (ODT v1.1), and had a couple
  14. problems building (with GCC ss-920717).
  15.  
  16. 1) 2 files are greater than 14 characters.  Note that under SCO's tar at least,
  17.    these files are not created.  They should be shortened (even though SCO does
  18.    not need them):
  19.  
  20.    hppahpux-tdep.c
  21.    hppahpux-xdep.c
  22.  
  23. 2) It was trying to use gcc -posix as the compiler.  GCC v2.2.2 (or
  24.     at least ss-920717) doesn't use -posix.  Take it out of mh-sco.
  25.  
  26. 3) One warning:
  27.  
  28.    readline.c: 2545: warning: comparison is always 1 due to limited range of 
  29.     data type
  30.  
  31.    I didn't bother looking at this.
  32.  
  33. 4) One error:
  34.  
  35.   main.c: 523: initializer element for `long_options[0].has_arg' is not
  36.      constant
  37.  
  38.   This happens for long_options[0..27].  I am not sure if this is a gcc
  39.    bug or not.  I changed the definition of the has_arg element in the
  40.    struct in getopt.h to be an enum type, which is what it is used as,
  41.    and moved the enum definition above the struct.  This stopped the errors
  42.    and made it compile successfully.
  43.  
  44. That's all for now - haven't tried to run it yet - just compiling.
  45.  
  46. -- Erik
  47. --
  48. +----------------------------+
  49. ! Erik Talvola               | "It's just what we need... a colossal negative 
  50. ! talvola@qin.berkeley.edu   | space wedgie of great power coming right at us
  51. ! ...!ucbvax!qin!talvola     | at warp speed." -- Star Drek
  52.  
  53.