www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/13:02:41

From: Eyal Ben-David <eyal DOT ben-david AT aks DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Am I retarded -or- Why is my exe size so big?!?
Date: Thu, 27 Aug 1998 19:55:21 +0300
Organization: AKS
Lines: 14
Message-ID: <35E58F79.7AFC@aks.com>
References: <35e5850b DOT 0 AT buffnet2 DOT buffnet DOT net>
NNTP-Posting-Host: pathfinder.aladdin.co.il
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ron Penton wrote:
> 
> I'm using djgpp 2.whatever and allegro 3.0. I know that allegro has a large
> overhead, but that overhead was supposed to be the same no matter how big
> the the program got. I've been programming a game for a few months and all I
> have is the interface and redraw functions, yet my exe size is 4.6 MEGS!!
> Yikes!!! I tried undeclaring allegro stuff, but nothing happened. The only
> gcc flag I'm using is -g. Can anyone help me please?

You compiled with debugging.

You can strip all debugging info:   strip --strip-all file.exe

Eyal.

- Raw text -


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