home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / std / c / 3417 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.5 KB

  1. Path: sparky!uunet!ogicse!news.u.washington.edu!glia!hawkeye
  2. From: hawkeye@glia.biostr.washington.edu (Ken Keys - TF Dude)
  3. Newsgroups: comp.std.c
  4. Subject: Re: Libraries specified in source?
  5. Message-ID: <hawkeye.727994342@glia>
  6. Date: 25 Jan 93 20:39:02 GMT
  7. Article-I.D.: glia.hawkeye.727994342
  8. References: <1993Jan21.182949.29796@cronkite.ocis.temple.edu> <1993Jan23.194202.20332@druid.uucp> <1993Jan25.152432.7022@crd.ge.com>
  9. Organization: University of Washington
  10. Lines: 34
  11. NNTP-Posting-Host: glia.biostr.washington.edu
  12.  
  13. In <1993Jan25.152432.7022@crd.ge.com> volpe@bart.NoSubdomain.NoDomain (Christopher R Volpe) writes:
  14.  
  15. >|> ray@astro.ocis.temple.edu (Ray Lauff) writes:
  16. >|> >simplify the process, but why not just have a line in the 
  17. >|> >main program such as
  18. >|> >
  19. >|> >#library "/lib/libc.a"
  20.  
  21. >I like the idea, though I wouldn't include path names for standard stuff.
  22. >Rather, I would mimic the semantics for #include directives.
  23.  
  24. >Similarly, I would prefer to see something like:
  25. >  #include <libm.a>
  26.  
  27. >to get the math library.
  28.  
  29. Even better, math.h could contain the line
  30.  
  31.   #library <libm.a>
  32.  
  33. That way, a program conforming to the current standard would work with
  34. this new compiler without modification.  New programs wouldn't have to
  35. use the new #library directive, so they'll work just fine under current
  36. compilers (with the -l switch, of course).
  37.  
  38. --
  39. Ken Keys, aka Hawkeye
  40. Master of the Fugue
  41. kkeys@ucsd.edu or hawkeye@ucsd.edu
  42. -- 
  43. --
  44. Ken Keys, aka Hawkeye
  45. Master of the Fugue
  46. kkeys@ucsd.edu or hawkeye@ucsd.edu
  47.