home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 21069 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.6 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!moe.ksu.ksu.edu!wyatt.ksu.ksu.edu!news
  2. From: probreak@wyatt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: gcc -g
  5. Date: 19 Dec 1992 01:52:13 -0600
  6. Organization: Kansas State University
  7. Lines: 27
  8. Message-ID: <1gukbdINNi6h@wyatt.ksu.ksu.edu>
  9. References: <1992Dec17.232305.24764@watson.ibm.com> <BzGrJH.Jsu@nmrdc1.nmrdc.nnmc.navy.mil>
  10. NNTP-Posting-Host: wyatt.ksu.ksu.edu
  11.  
  12. dsc3pzp@nmrdc1.nmrdc.nnmc.navy.mil (Philip Perucci) writes:
  13.  
  14. >In article <1992Dec17.232305.24764@watson.ibm.com> rajat@watson.ibm.com (Rajat Datta) writes:
  15. >>I'm running with the basedisk, libdisk, rootdisk, etc. that H.J. Lu
  16. >>distributes with the GCC package.  Where can I find a working libg.a?
  17. >>Meanwhile, any files I compile with gcc -g fails with segmentation
  18. >>error; something to do with i/o, I believe, but haven't looked into it
  19. >>any deeper.  Of course, this means gdb is pretty useless too.
  20. >>
  21. >>Any ideas?  Thanks,
  22. >>-- 
  23. >>rajat (rajat@watson.ibm.com)
  24.  
  25. >Could the response be posted on c.o.l?  I have the same problem.
  26.  
  27.  
  28. >-- 
  29. >===========================================================================
  30. >  phil perucci      | "Any opinions expressed are solely my own views and 
  31. >  ssb1pzp@digex.com |  do not reflect the position of any organization"
  32. >===========================================================================
  33.  
  34. You can just link libc.a to libg.a and compile with -g just fine. All the 
  35. libg.a stuff had in it before was all the functions compiled with -g.
  36. This meant you could debug library functions if they broke.
  37.  
  38. James
  39.