Reply-To: From: "Arthur" To: "DJGPP Mailing List" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <35E58F79.7AFC@aks.com> Importance: Normal Precedence: bulk > > 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