www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/04/09:46:04

From: jdominy AT saturn DOT cs DOT unp DOT ac DOT za (James Dominy)
Newsgroups: comp.os.msdos.djgpp
Subject: Bulding my own library
Date: 4 Sep 1998 13:33:38 GMT
Organization: CS and IS, Univ of Natal, PMB
Lines: 14
Message-ID: <904916017.757183@mars.cs.unp.ac.za>
NNTP-Posting-Host: raven.und.ac.za
Cache-Post-Path: mars.cs.unp.ac.za!jdominy AT saturn DOT cs DOT unp DOT ac DOT za
Cache-Post-Path: Raven!news AT mars DOT cs DOT unp DOT ac DOT za
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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?

Thanx again!
James

- Raw text -


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