From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling Allegro examples under RHIDE Date: Mon, 28 Apr 1997 13:09:02 -0400 Organization: Cornell University http://www.cornell.edu Lines: 27 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <3364D9AD.433C@cornell.edu> References: <01bc53ee$9cf11b60$25eae4ce AT pttimcs> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0005.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk B & C Duffey wrote: > > trying to Link. The Allegro.h file is in the djgpp\include subdirectory. > If I add the Allegro library file to the Libraries in RHIDE I get an error > that the allegrlib.a <(name might not be right - I am on another machine > right now) is not a director or file. it is liballeg.a. the easiest way to do this is to put the library in djgpp\lib and then in rhide, Options-Libraries and specify the name of the library as alleg. just as you would do if you were typing the command line gcc ex26.c -o ex26.exe -lalleg (provided liballeg.a is in djgpp\lib.) -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************