Mail Archives: djgpp/1997/02/17/23:27:10
Eclipse (maciek AT compmore DOT net) wrote:
: When I downloaded the Allegro source code and tried compiling it, I got the
: messages.
: In the C:\ALLEGRO directory I typed this, gcc -o ex1.exe ex1.c
RTFM :)
Having run 'make' in C:\ALLEGRO, you should copy allegro.h into
C:\DJGPP\INCLUDE and liballeg.a into C:\DJGPP\LIB. Then, add to
the *end* of your gcc command line: -lalleg, i.e.
gcc -o ex1.exe ex1.c -lalleg
This links in the library code and should eliminate those errors.
--
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -