www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/28/11:16:55

From: umich AT gwis2 DOT circ DOT gwu DOT edu (Umberto Michelucci)
Newsgroups: comp.os.msdos.djgpp
Subject: Size of executables...
Date: 28 Feb 1998 15:57:59 GMT
Organization: The George Washington University, Washington DC
Lines: 33
Message-ID: <6d9c67$3or3@beaker.nit.gwu.edu>
NNTP-Posting-Host: gwis2.circ.gwu.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi and excuse me,
I have a small question, not really a problem. If you look at the
directory /djgpp/allegro/examples you will see that the file ex1.exe is
about 200 Kb. Now I have copied to another directory the file ex1.c and I
have compiled with the lines

	gcc -c ex1.c
	gcc -o ex1.exe ex1.o -lalleg

and I have obtained an executable of 370 Kb. Now what I'm doinf wrong? Is
there any flag to use with gcc to avoid this? The program "hello world" is
of about 80 Kb. Is it not too much? Does anyone have an idea? 
The compilation of allegro went really fine, so I have already checked
ther makefile for the flags used there, but I haven'
t find any clue.

HELP ME.

Thanks in advance

				Umberto Michelucci

=======================================================================

      //   |     /\   /|    Umberto Michelucci
     //    |    /   \/ |    umich AT gwis2 DOT circ DOT gwu DOT edu
    //     |   /       |
   /_______|  /        |    "The nature can write code up to 10 lines
			     per minute..." (Freely taken from P.Bock)
 
=======================================================================


- Raw text -


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