www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/25/01:28:20

Date: Tue, 25 Jun 1996 08:21:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Charles Bloom <cbloom AT mail DOT utexas DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: gnuwin32 : making link libraries / archives
In-Reply-To: <4qmn7h$ct4@geraldo.cc.utexas.edu>
Message-Id: <Pine.SUN.3.91.960625081541.4879E-100000@is>
Mime-Version: 1.0

On 24 Jun 1996, Charles Bloom wrote:

> I couldn't find anything in the docs about how to
> create link libraries or "archives"
> (some wierd GNU replacement for link libraries),
> only info on making DLLs.

It would help if you would post some fragment of text where you see a
reference to such ``link libraries''.  Right now I can only guess that you
need a means to put object files into a library that will be later
submitted to a linker.  If that's the case, then ported GNU software
usually uses the `ar' program to do that.  Suppose you have a few object
files called fil1.o, file2.o, file3.o.  Then to make a library you should
invoke `ar' like this: 

	ar rvs mylib.a file1.o fil2.o file3.o

Note that I never used GNUWin32 myself, so the above might be a wild 
goose.  If you tell a bit more about your problem, the reply will 
probably be more useful too.

- Raw text -


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