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