Mail Archives: djgpp/1996/06/25/01:28:20
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 -