From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP HELP!!! Date: 18 Feb 1997 07:21:33 GMT Organization: The National Capital FreeNet Lines: 28 Message-ID: <5ebl9t$n79@freenet-news.carleton.ca> References: <01bc1de5$9f413ba0$0100007f AT default> <5eantb$d1r AT news DOT ox DOT ac DOT uk> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet2.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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