delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/05/05:46:02

From: "Martin Ambuhl" <mambuhl AT tiac DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bulding my own library
Date: Sat, 5 Sep 1998 05:44:15 -0400
Organization: Nocturnal Aviation
Lines: 22
Message-ID: <6sr0te$cjq@news-central.tiac.net>
References: <904916017 DOT 757183 AT mars DOT cs DOT unp DOT ac DOT za>
NNTP-Posting-Host: p26.tc2.newyo.ny.tiac.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

James Dominy wrote in message <904916017 DOT 757183 AT mars DOT cs DOT unp DOT ac DOT za>...
|Hi,
|
|I've written a whole lot of library routines which I would like to
archive
|into a .a library file for later use in my programs. Anyway I presumed
the
|procedure for going about this would have been to use the ar utitlity.
|
|ar c mylib.o mylib.a
|
|except that this complains that .o files aren't supported as target
files.
|
|How do I go about this?


ar rs libmylib.a mylib.o



- Raw text -


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