home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5617 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  992 b 

  1. Path: sparky!uunet!olivea!decwrl!csus.edu!netcom.com!netcomsv!resonex!zenon
  2. From: zenon@resonex.com (Zenon Fortuna)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: What command do I use to make a ".a" file?
  5. Message-ID: <1992Aug14.125625.29721@resonex.com>
  6. Date: 14 Aug 92 12:56:25 GMT
  7. References: <1992Aug13.175707.12931@aio.jsc.nasa.gov>
  8. Organization: Resonex Inc., Sunnyvale CA
  9. Lines: 27
  10.  
  11. In article <1992Aug13.175707.12931@aio.jsc.nasa.gov> bill@epnxt.jsc.nasa.gov writes:
  12. >I wish to make a library file (somefile.a) encompassing a palette I just  
  13. >designed.  What command do I use?  I could not find anything mentioned in  
  14. >the QA section on this topic.
  15. >
  16. >Thanks in advance.
  17. >
  18. >        Bill
  19.  
  20.  
  21. Read the manual pages for ar(1).
  22.  
  23. One of the options may look like below:
  24.  
  25.     ar qv name.a obj1.o obj2.o
  26.  
  27.  
  28. In addition to "ar" you may need to use the ranlib(1) for random access
  29. to the library, for example:
  30.  
  31.     ranlib name.a
  32.  
  33. and lorder(1) to improve the order of the objects in the
  34. library.
  35.  
  36.  
  37.     -Z.
  38.