www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/22/02:33:40

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Creating a library
Date: Mon, 22 Dec 1997 08:06:48 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 22
Message-ID: <349E1188.8D304664@LSTM.Ruhr-UNI-Bochum.De>
References: <01bd0e3b$6831dec0$55eea8c1 AT default>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Stephen Clemente wrote:
> 
> I have a collection of .o files that I would like to group together as a
> library (.a) file. How do I do that?
If you work with RHIDE, stuff them into a project
and change the targetname to libfoo.a
If you prefer commandline, use
ar -svr libfoo.a *.o (or whatever matches your object files)
-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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