home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 7023 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!cs.utexas.edu!rice!corywest
  3. From: corywest@is.rice.edu (Cory Richard West)
  4. Subject: GDB 4.6 Questions (What's a .a good for anyway?)
  5. Message-ID: <1992Jul30.060423.2356@rice.edu>
  6. Followup-To: comp.os.linux
  7. Summary: Questions about gdb and .a files
  8. Keywords: gdb 4.6 library
  9. Sender: news@rice.edu (News)
  10. Organization: Rice University Computer Science
  11. Date: Thu, 30 Jul 1992 06:04:23 GMT
  12. Lines: 24
  13.  
  14.     Hello all.  I just built gdb 4.6 and I have some questions for
  15. anyone else that may have had similar problems.  My hardware setup is a
  16. 486-33 running gcc 2.2.2d and .96c pl2.  I used the -m486 -O2 CFLAGS
  17. and the -static LDFLAGS (explained below).
  18.     First, gdb 4.6 always crashed with a memory corruption error
  19. when I linked it dynamically.  I had to link it statically in order for
  20. it to function.  Why is this?  Would using a different sharing scheme
  21. (like the jump tables in gcc 2.2.2d) have overcome this problem?
  22.     Second, along with a binary, I created a bunch of .a files.
  23. Is there a reason that I should keep these libraries around?  I have
  24. an old libiberty.a hanging around in /usr/local from an old gcc installation
  25. if I remember correctly.  If I should keep these, where should I put
  26. them.  I'm just curious, I guess, as to why these might or might not
  27. be saving material.
  28.     Ok, that's enough for now.  Many thanks and I'll see you all
  29. later.
  30.  
  31.             Cory West, corywest@rice.edu
  32.  
  33. P.S.  One of the default CFLAGS is -g.  That produces a 3.5+ megabyte
  34. binary and sucks up some 20 megabytes of disk while building.  I had
  35. to compile twice because I missed this one -- Yuck!
  36.  
  37.  
  38.