From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: how to compile allegro program Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8t8dq7$7dph0$1 AT news DOT ht DOT net DOT tw> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 33 X-Trace: /bV2/6Q3cJ/aoplfi9e7azD0zyx5wd9YQIPHGWtBcJzYaMPC7kilurXiJ84z1Q7kEp5NV0KNQnwC!XpRQs8LcVXV+Xx6irO/KcYlPYKI7ri7lYHN9GUbegJW9cVpMFT89HbgWrPTMre+v0bIZFvsp0/F6!5gpCDQ== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 28 Oct 2000 17:19:38 GMT Distribution: world Date: Sat, 28 Oct 2000 17:19:38 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 26 Oct 2000 11:49:02 +0800, "Bob Bailey" wrote: >Yesterday I started trying to use Allegro. >My current goal is to write custom data plotting programs. >Nothing fancy. > >I got Allegro 3.9.33 installed OK, and the example >programs run OK. However, when _I_ compile, for >example, the exhello.c program, it takes >much longer for the program to end and return to >the DOS prompt than the installed exhello.exe program. > >The probem would seem to be the way I compile >my own version of exhello.c. The supplied makefiles are just >too complicated to unravel and do whatever >they do to compilie the program. You could say that I >don't know what to make of it. :) (Would be nice if >software writers would include instructions for compiling, >not just installation.) To compile an Allegro program, do this: gcc -Wall -O3 foo.c bar.c baz.c -lalleg -o foo.exe This is in readme.dj --