Mail Archives: djgpp/2000/02/15/20:03:33
On Tue, 15 Feb 2000, Stiphane Pierrel wrote:
> I'm a newbie and I'm very bad in English .
> I try to install allegro.h.
> But I don't know how to compile it.
> I think that I must used make.exe , but I don't know how to tell to him
> the directory of allegro.
>
> steph
Please change to the allegro directory. and type "make install" (without
the quotes). This should compile the library and install the approprite
files, allegro.h in the djgpp\include folder and liballeg.a (the allegro
library) in the djgpp\lib folder.
Afterwards to compile a program please make sure you add the -lalleg
switch to ask the linker to link in the allegro library.
And example would be "gcc game.c -o game.exe -lalleg"
Hope this help's,
Grendel
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)
- Raw text -