Sender: nate AT cartsys DOT com Message-ID: <35849804.703F10CF@cartsys.com> Date: Sun, 14 Jun 1998 20:41:56 -0700 From: Nate Eldredge MIME-Version: 1.0 To: XSyphineX CC: djgpp AT delorie DOT com Subject: Re: Question on allegro libraries... References: <1998061418392700 DOT OAA22055 AT ladder01 DOT news DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk XSyphineX wrote: > > How do I use the header files in allegro. Where do i put them to link them or > compile the to my program? can someone help? I'm quite sure the Allegro docs talk about this, but anyway... "allegro.h" should be in $DJDIR/include, and "liballeg.a" in $DJDIR/lib, where $DJDIR is your base DJGPP directory. I think that Allegro installs them there automatically when you compile it. Then, to use Allegro in a program, add #include near the top of each source file that uses Allegro, and add `-lalleg' to the command line when you link (create the executable). -- Nate Eldredge nate AT cartsys DOT com