home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / sysv386 / 13725 < prev    next >
Encoding:
Text File  |  1992-08-29  |  2.3 KB  |  54 lines

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