delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Message-Id: | <5.0.2.1.0.20020506140005.00ba6110@pop.hotpop.com> |
X-Sender: | jlsgarrido AT pop DOT hotpop DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 5.0.2 |
Date: | Mon, 06 May 2002 14:25:47 -0500 |
To: | djgpp AT delorie DOT com |
From: | =?iso-8859-1?Q?=22Jos=E9_L=2E_S=E1nchez=22?= <jlsgarrido AT hotpop DOT com> |
Subject: | Re: library |
In-Reply-To: | <Xns9206CC7EB39A8adminraf256com@213.180.128.20> |
References: | <Xns92067651DAF8Aadminraf256com AT 213 DOT 180 DOT 128 DOT 20> |
<3CD65490 DOT E97CA435 AT phekda DOT freeserve DOT co DOT uk> | |
Mime-Version: | 1.0 |
X-HotPOP: | ----------------------------------------------- |
Sent By HotPOP.com FREE Email | |
Get your FREE POP email at www.HotPOP.com | |
----------------------------------------------- | |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g46MOC829658 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
At 06:03 p.m. 06/05/2002 +0000, you wrote: >Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> wrote in >news:3CD65490 DOT E97CA435 AT phekda DOT freeserve DOT co DOT uk: > > > Hello. > > Rafal 'Raf256' Maj wrote: > > [snip] > >> Can someone give my example of linecommand that will compile a.cpp b.cpp > >> c.cpp into single mylib.a ? > > Compile the C++ files as usual, e.g.: > >I always used RHIDE, how would simple .bat look like ? >Will this .bat comoplie _all_ source if I change (touch) only one file, or >will it re-compile everything ? Can't I use allegro to make library ? > >-- >Rafa³ 'Raf256' Maj >GG-1175498 Alternativally, you can use RHIDE to create your library. Create a project file, add yours .cpp files, and change the main target name (in Project->Main targetname) to libmy.a (because the linker appends the suffix lib when is invoked whit switch -l) Once time the library is created, you can link it with yours programs, manually or using RHIDE. With RHIDE, you need add the library in Options->Libraries (only add my) I can't understand yours questions: do you need change the source of the library? or.. do you need change the code that call the library?, and... your library call functions on Allegro library? Regards José L.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |