home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / g / help / 1425 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.8 KB

  1. Path: sparky!uunet!think.com!ames!agate!forney.berkeley.edu!jbuck
  2. From: jbuck@forney.berkeley.edu (Joe Buck)
  3. Newsgroups: gnu.g++.help
  4. Subject: Re: Does g++ require libg++
  5. Date: 11 Nov 1992 21:58:42 GMT
  6. Organization: U. C. Berkeley
  7. Lines: 33
  8. Message-ID: <1drvmiINNatj@agate.berkeley.edu>
  9. References: <1992Nov11.074040.2411@u.washington.edu>
  10. NNTP-Posting-Host: forney.berkeley.edu
  11.  
  12. In article <1992Nov11.074040.2411@u.washington.edu> edgar@ms.washington.edu (Edgar Karl Nielsen) writes:
  13. >    Does gnu g++ require the libg++ package to be installed?
  14.  
  15. No, but you're fairly crippled without it if your vendor does not
  16. provide ANSI C header files.
  17.  
  18. >My installation of gcc2.2 seems to behave this way, but it seems strange that
  19. >the gcc documentation makes no references to this requirement.
  20.  
  21. The gcc documentation describes the C compiler, with a few brief
  22. references to C++.  But the compiler itself doesn't need the library,
  23. and back in the old days when libg++ was under the GPL, the InterViews
  24. people (among others) wrote replacement streams classes so you could
  25. avoid use of libg++ entirely (with the LGPL there's no longer much
  26. reason to do this, IMHO, since it permits object-only distribution of
  27. "works that use the library").
  28.  
  29. >In addition,
  30. >the groff documentation says that you don't need libg++ when running gcc2.x,
  31. >only when running lesser versions. I would appreciate enlightenment on this
  32. >topic!
  33.  
  34. Beats me.  I do think that it might be an improvement if certain headers
  35. required for any implementation by the ANSI C++ committee (things like
  36. wrappers for the standard headers required for any C++ implementation)
  37. were moved from the libg++ distribution to the gcc distribution.  This
  38. would be easier to do once the Gnu C library is integrated more cleanly
  39. with libg++ (right now they fight with each other).
  40.  
  41.  
  42.  
  43. --
  44. Joe Buck    jbuck@ohm.berkeley.edu
  45.