Mail Archives: djgpp/1997/08/23/09:21:44
Newsgroups: | comp.os.msdos.djgpp
|
Date: | Sat, 23 Aug 1997 02:34:45 -0700
|
From: | Daniel Koepke <dkoepke AT california DOT com>
|
Subject: | Re: Creating libraries with DJGPP
|
In-Reply-To: | <33FDF26F.1C37@indy.net>
|
Message-ID: | <Pine.BSI.3.95.970823023224.161D-100000@global.california.com>
|
References: | <33FDF26F DOT 1C37 AT indy DOT net>
|
MIME-Version: | 1.0
|
NNTP-Posting-Host: | 140.174.210.7
|
Lines: | 18
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On Fri, 22 Aug 1997, Chris Frolik wrote:
-+How do I compile my source into a library that I can link with my
-+programs using -lmylib instead of an object file? I checked the FAQ and
-+couldn't find anything about this. Thanks for the help,
ar rs <library> <object files to include>
For instance, if I wanted to create LIBFLARE.A with light.o, svga.o, and
bright.o then I would do:
ar rs libflare.a light.o svga.o bright.o
--
Daniel Koepke -:- dkoepke AT california DOT com -:- [Shadowlord/Nether]
Think.
- Raw text -