home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16111 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.4 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!olivea!sgigate!odin!triton.mti.sgi.com!wsj
  2. From: wsj@triton.mti.sgi.com (Bill Johnson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: More malloc() questions.
  5. Keywords: malloc, WorkShop
  6. Message-ID: <1992Nov7.025314.17737@odin.corp.sgi.com>
  7. Date: 7 Nov 92 02:53:14 GMT
  8. References: <1992Nov6.212516.336@den.mmc.com> <1992Nov7.015108.259@ultra.com>
  9. Sender: news@odin.corp.sgi.com (Net News)
  10. Reply-To: wsj@mti.sgi.com
  11. Organization: Silicon Graphics, Inc.
  12. Lines: 18
  13. Nntp-Posting-Host: triton.mti.sgi.com
  14.  
  15. In article <1992Nov7.015108.259@ultra.com>, keving@corin.ultra.com (Kevin W. Gurney) writes:
  16. |> In article <1992Nov6.212516.336@den.mmc.com>, beck@enterprise.den.mmc.com (Fred R. Beck) writes:
  17. |> |>
  18. |> |> I understand that the lib[*]_s.a are "shared" libraries.  I
  19. |> |> understand that the lib[*]_G0.a are graphics related routines.
  20. |> 
  21. |> libfoo_G0.a consists of the same objects in libfoo.a, each compiled with 
  22. |> ld(1)'s "-G 0" option.  Nothing to do with graphics at all.  See ld(1) for
  23. |> more details.
  24.  
  25. Actually, it's the -G 0 option to the compilers, in this case.
  26. -G 0 instructs the compilers to put (and expect) no globals in
  27. the GP area.  man ld(1) or cc(1) will give you more info.
  28.  
  29. -- 
  30. Bill Johnson                   10U-178                   wsj@mti.sgi.com
  31. Silicon Graphics, Inc.                             Office:(415) 390-4283
  32. MTI Compilers                                         Fax:(415) 390-6170
  33.