Mail Archives: djgpp/2001/03/11/07:30:19
On Sat, 10 Mar 2001, Sahab Yazdani wrote:
> Anyway, just a general question. What is the point of running "make" in
> the allegro folder? why is it that you have to make allegro. Shouldn't
> it be ready to run once you download it?
Allegro is a library, not a stand-alone program. Libraries are used
by linking your program with the library. Linking with a library
requires a working compiler installation. By successfully compiling
the library, you prove to yourself that your compiler installation is
fully functional.
> Also, before you run make,
> there already exists an allegro.h file. Wouldn't that suffice in order
> to successfully include allegro.
No, you need liballeg.a, the library itself. The allegro.h header
file just declares the function prototypes, but bears no real code.
- Raw text -