home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / gcc / help / 2466 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.9 KB  |  47 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!informatik.uni-kl.DE!lott
  3. From: lott@informatik.uni-kl.DE (Christopher Lott AGSE)
  4. Subject: Re: few questions about gcc 2.3.1 install
  5. Message-ID: <9211060841.aa05529@chanel.informatik.uni-kl.de>
  6. Sender: daemon@cis.ohio-state.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 6 Nov 1992 09:41:36 GMT
  10. Lines: 35
  11.  
  12.  
  13. In article <9211051454.aa05177@chanel.informatik.uni-kl.de> I write:
  14. > ..some questions..
  15.  
  16. Thanks to botz@orixa.mtholyoke.edu and wwf@doe.carleton.ca I have
  17. answers to most of my questions.  Hope these answers help someone.
  18.  
  19.  >1.  Where do the c++ header/include files come from?  I seem
  20.  
  21. They come from the libg++ distribution.
  22.  
  23. >2.  Should I be using gas and/or ld?   Benefits?
  24.  
  25. It's very easy to use the vendor-supplied assembler and loader. 
  26. About the gnu assembler:  I still don't know.
  27. About the gnu loader:     In our (Sun4) case, the sun loader does dynamic
  28. linking, and judging from the notes in the GCC info file, the gnu loader will
  29. not support this in the foreseeable future.  So we'll stick with sun ld.
  30.  
  31. >3.  The GNU C library (glibc-1.05) is intended for people who have no c
  32. >    library available, correct?  Are there any benefits for folks like us? 
  33.  
  34. Correct.  Glibc has all ANSI-required lib functions and more, and comes with
  35. a full set of ANSI headers with library function prototypes.  We don't *need*
  36. it because we have the Sun lib, but some of the functions in the GNU libc
  37. may be better and there's a real advantage to using headers with prototypes.
  38.  
  39. >4.  What is libgcc.a used for?  
  40.  
  41. libgcc.a contains a bunch of stuff used in linking objects created by GCC.  
  42. There is more related info in the README.X11 that came with GCC.  There
  43. does not seem to be anything in the Makefile to make a shared libgcc.a.
  44. I am still not clear about the implications of this for dynamic linking.
  45.  
  46. chris...
  47.