delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/08/16:17:23

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I create a Library ?
Date: Tue, 08 Apr 1997 17:28:06 GMT
Organization: Oxford University
Lines: 15
Message-ID: <334a7fae.1558687@news.easynet.co.uk>
References: <5i8tor$33ah$1 AT www DOT iil DOT intel DOT com>
NNTP-Posting-Host: foot.easynet.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 6 Apr 1997 19:32:43 GMT, abarak AT iil DOT intel DOT com (Amit Barak) wrote:

>How do i create a library 'libxxx.a' from a group of C++
>code files ?

First compile the files into .o files, then run something like:

ar rs libxxx.a *.o

Then copy libxxx.a into your lib directory.

Type 'info binutils ar' for more information on the ar utility.

-- 
George Foot

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019