X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Rafal 'Raf256' Maj" 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: NNTP-Posting-Host: 62.233.182.179 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit 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