Mail Archives: djgpp/1998/08/28/07:17:57
| Reply-To:  | <arfa AT clara DOT net>
 | 
| From:  | "Arthur" <arfa AT clara DOT net>
 | 
| To:  | "DJGPP Mailing List" <djgpp AT delorie DOT com>
 | 
| Subject:  | RE: Am I retarded -or- Why is my exe size so big?!?
 | 
| Date:  | Fri, 28 Aug 1998 12:16:41 +0100
 | 
| Message-ID:  | <000301bdd275$54e2d3c0$b84d08c3@arthur>
 | 
| MIME-Version:  | 1.0
 | 
| In-Reply-To:  | <35E58F79.7AFC@aks.com>
 | 
| Importance:  | Normal
 | 
> > 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
Also, using an optimisation, like -O3, always reduces the executable size a bit.
Executable size is covered in the FAQ (you did read that didn't you?)
James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819 
- Raw text -