delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/30/16:21:40.1

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: (Allegro) Newbie needs help
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <9vfd2tovph71vphm9rgrk3ceqt9lgrhb32@4ax.com>
References: <3A2696EC DOT 96D573DB AT rug DOT ac DOT be>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 35
X-Trace: /bNDC2JDLqB34ovOAoDbuq1mSassFY0OyVzv9cDDlDm8GHjke4qUKOqt5LhVuKsFBYsmQz/QNCso!7uLfcBSrRSA+Sd47SuKuz/XqbrgjKzdTRuFZMQYpUwtcZRosd4IshxVGDS7WVAtKGLQZhjCgLDG8!N8oAUQ==
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: Thu, 30 Nov 2000 21:05:13 GMT
Distribution: world
Date: Thu, 30 Nov 2000 21:05:13 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 30 Nov 2000 19:05:32 +0100, Bram de Greve
<Bram DOT deGreve AT rug DOT ac DOT be> wrote:

>If a compile a program in Windows 3.11 (I know, that's very old), can I
>run in under Windows 98?

Yes.  A compiler and library on one system produces an identical
binary to that produced by the same compiler and library on another
system.

>Do I need to ship some misc files, or do I just need the compiled/linked
>.exe file?

You need the .exe file and any Allegro datafiles you're loading with
load_datafile().

>The only external think I use is Allegro, of which I only use the
>putpixel() function (and of course some function to init the video).
>Oh yeah, I also use sin(), cos(), acos(), log() and exp() of 'math.h'

These are statically linked in DJGPP; all the libraries are part of
the EXE file.  However, you might want to use Allegro's binary size
reducing options if you're distributing the binaries across a network:
  info allegro reducing
The UPX executable packer (http://upx.tsx.org/) wouldn't hurt either.
UPX can reduce the Allegro overhead to 200 KB with all features
enabled.

-- 
<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