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?= Subject: Re: library In-Reply-To: References: <3CD65490 DOT E97CA435 AT phekda DOT freeserve DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Content-Transfer-Encoding: 8bit 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 Precedence: bulk At 06:03 p.m. 06/05/2002 +0000, you wrote: >Richard Dawe 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.