From: "George Kinney" Subject: Re: Allegro/Djgpp beginner Newsgroups: comp.os.msdos.djgpp References: <33DCA3A9 DOT 316CAB56 AT swipnet DOT se> Organization: The Unknown Programmers Message-ID: <01bc9bdc$e16da160$fd8033cf@pentium> NNTP-Posting-Host: 207.51.128.253 Date: 29 Jul 97 04:54:35 GMT Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ulf Cederholm wrote in article <33DCA3A9 DOT 316CAB56 AT swipnet DOT se>... > found in d:\djgpp\bin) to compile alegro. The problem here is that I do > not know how to run make.exe in the allegro directory. I have tried a > couple of different things to no avail. Assuming that your environment vars are set up correctly, just change to the c:\djgpp\allegro directory, and type make. If this doesn't work, then either you don't have djgpp set up correctly, or you didn't install make. You didn't specify whether make'ing allegro is failing, or if make simply refuses to run. (log into any directory, and type make, if it doesn't try to run, check your djgpp setup. Specifically, make sure that you are setting up djgpp.env as detailed in readme.1st) > Second I use rhide1.3 and would whant to compile sources that include > allegro. I think I should add something to options/libraries but I am > not sure of exactly what. Could somebody please help me solve these two > problems so I can go on learning C++ and using allegro. You need to add the location of allegro.h and liballeg.a to your linker search path, and then add -lalleg to the compiler command line. i.e. gcc -Ic:\djgpp\allegro\include -Ic:\djgpp\allegro\lib myprog.c -lalleg (both of these items can be setup in the Options menu in RHIDE)