delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/19/03:29:15

Date: Sun, 19 Jan 1997 10:09:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andrew Deren <aderen AT eecs DOT uic DOT edu>
cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: makeing .a files
In-Reply-To: <Pine.SUN.3.95.970118162629.24049C-100000@bert.eecs.uic.edu>
Message-ID: <Pine.SUN.3.91.970119100838.22250T-100000@is>
MIME-Version: 1.0

On Sat, 18 Jan 1997, Andrew Deren wrote:

> I know it was already posted on this news group, but I want to know how to
> build library files from several .o files.
> I tried "ar ra libmylib.a file1.o file2.o..." and I get a message "file
> format not recognized."

This should work:

	ar rvs libmylib.a file1.o file2.o ...

- Raw text -


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