Mail Archives: djgpp/1997/02/18/06:19:52
George Foot (gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk) writes:
> 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.
Or, add the allegro path to your djgpp.env include and library paths...
> 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.
Make compiles the examples as well as the library actually.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -