home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!csus.edu!netcom.com!netcomsv!resonex!zenon
- From: zenon@resonex.com (Zenon Fortuna)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: What command do I use to make a ".a" file?
- Message-ID: <1992Aug14.125625.29721@resonex.com>
- Date: 14 Aug 92 12:56:25 GMT
- References: <1992Aug13.175707.12931@aio.jsc.nasa.gov>
- Organization: Resonex Inc., Sunnyvale CA
- Lines: 27
-
- In article <1992Aug13.175707.12931@aio.jsc.nasa.gov> bill@epnxt.jsc.nasa.gov writes:
- >I wish to make a library file (somefile.a) encompassing a palette I just
- >designed. What command do I use? I could not find anything mentioned in
- >the QA section on this topic.
- >
- >Thanks in advance.
- >
- > Bill
-
-
- Read the manual pages for ar(1).
-
- One of the options may look like below:
-
- ar qv name.a obj1.o obj2.o
-
-
- In addition to "ar" you may need to use the ranlib(1) for random access
- to the library, for example:
-
- ranlib name.a
-
- and lorder(1) to improve the order of the objects in the
- library.
-
-
- -Z.
-