home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- Path: sparky!uunet!acts!larry
- From: larry@acts.uucp (Larry Palmer)
- Subject: Re: Help "gdb" under ISC V3.0
- Message-ID: <1992Aug28.121228.1739@acts.uucp>
- Organization: Active Software Inc.
- References: <1992Aug27.204606.6355@abbott.com>
- Date: Fri, 28 Aug 92 12:12:28 GMT
- Lines: 43
-
- pat@abtlabs.uucp (Patrick Conroy) writes:
- >Has anyone successfully built/installed "gdb 4.6" under ISC V3.0?
-
- I'm still running ISC V2.02, but I installed gdb 4.6 recently without
- too many problems. I used "./configure i386-sysv32". "sco" might
- have worked too, but I was a little uneasy about doing that. Here are
- the problems I did have:
-
- - The stuff in the "bfd" directory uses 'index' as a variable and as a
- structure element, but sysdep.h in that directory had a "#define
- index(s,c) strchr(s,c)", for BSD->SYSV compatability which confused
- it. I just took out the #define.
-
- - Also in bfd: sysdep.h tries to include "utimes.h" which doesn't
- exist on my system. Oddly enough, I couldn't find a .h file
- anywhere in the /usr/include hierarchy which defined "struct
- utimbuf" (it's defined in the man page), although libc.a does
- contain "utime". I just took out the #include <utimes.h>; nothing
- in bfd calls utime anyway.
-
- - Also in bfd: practically every file generated tons of "warning:
- illegal pointer combination" for function references to
- bfd_false. Didn't hurt anything.
-
- - In readline: ptem.h is needed, and gets included from sysdep.h only
- if USG, TIOCGWINSZ, and either USGr3 or USGr4 are defined. Trouble
- is that TIOCGWINSZ gets defined too late, and USGr3 and USGr4 are
- never defined. I just included ptem.h explicitely. Linking sysdep.h
- in this directory to sysdep-sco.h instead of sysdep-norm would
- probably work as well.
-
- Other than that, the only problem I had was that the gdb image is 4.3
- Meg, which was slightly larger than my ulimit, which I had to increase
- (in /etc/default/login). Also "make install" whined a lot about not
- being able to put things in directories I didn't have, and I ended up
- just manually copying the gdb image to /usr/local/bin.
-
- Bottom line is it took about 3 hours, but it's working fine now.
-
- --
- Larry Palmer 508-266-1334 (v/f) | Active Software, Inc.
- uunet!acts!larry, or | 20 Ethan Allen Drive
- larry%acts@uunet.uu.net | Acton, MA 01720
-