delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/28/14:00:18.1

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to compile allegro program
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <j32mvs42t461u3k9artogrjm6j7gn1qkpp@4ax.com>
References: <8t8dq7$7dph0$1 AT news DOT ht DOT net DOT tw>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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" <bbailey AT ficnet DOT net>
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

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019