delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/06/05:45:26

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Rafal 'Raf256' Maj" <admin AT raf256 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: library
Date: 6 May 2002 09:35:08 GMT
Organization: news.onet.pl
Lines: 16
Sender: raf256 AT poczta DOT onet DOT pl@62.233.182.179
Message-ID: <Xns92067651DAF8Aadminraf256com@213.180.128.20>
NNTP-Posting-Host: 62.233.182.179
Mime-Version: 1.0
X-Trace: news.onet.pl 1020677708 4962 62.233.182.179 (6 May 2002 09:35:08 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 6 May 2002 09:35:08 GMT
User-Agent: Xnews/5.03.24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
I have my library - set of file (i.e. a.cpp b.cpp and c.cpp) with headers 
(a.h  b.h  c.h) that make a library.
Now in order to use that library I have a project containing :
a.cpp b.cpp c.cpp main.cpp  where main.cpp is the actual program, using my 
library.

How can I compile a.cpp b.cpp c.cpp into a single .a (like Allegro) taht I 
later can link to my programs ? I'm using rhide.

Can someone give my example of linecommand that will compile a.cpp b.cpp 
c.cpp into single  mylib.a ?

-- 
Rafał 'Raf256' Maj
GG-1175498

- Raw text -


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