delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/24/16:55:27

Message-Id: <199703242136.PAA05837@mail.sockets.net>
Reply-To: <cwhizard AT sockets DOT net>
From: "Anthony Q. Bachler, BAS" <cwhizard AT sockets DOT net>
To: "gecko" <gecko AT shell1 DOT tiac DOT net>, <djgpp AT delorie DOT com>
Subject: Re: Why is compiled a lot bigger than src?
Date: Mon, 24 Mar 1997 15:32:30 -0600
MIME-Version: 1.0

This is a multi-part message in MIME format.

------=_NextPart_000_01BC3868.9612CCE0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

The increase in size is not proportional.  It is merely due to the amount
of code that you must have to support protected mode.  i also think that
DJGPP includes all the code from header file declarations instead of just
what you need.  DJGPP is far from perfect as I too have found out. 
Remember, Turbo C (whence I too emigrated) is a commercial product.  People
got paid to do nothing but sit around and work on it all day to make it
better.  DJGPP is a free product.  People work on it in their spare time. 
In the long run DJGPP will be a better product because of this, but until
then it still needs lots of work.  If I had 12 hours a day to work on it, I
might be able to get it up to Turbo C's level of performance in a year, but
I don't.  It will get there though.  
::-)

----------------------------------------------------------------------------
---
C code is like assholes, everyone's stinks but your own.
Looking at C code is like looking at your bedroom, a 
  complete mess to everone else, but you can tell them 
  where every little thing is.
C code is like Ex-Lax, great when it works but a pain 
  in the ass when it doesn't.
Explaining why C is better than Pascal is like explaining 
  why peanut butter is better than toe jam.
Explaining why Assembler is better than anything is like 
  explaining why being deaf is better than listening to 
  'The artist formerly known as Prince'.

----------
> From: gecko <gecko AT shell1 DOT tiac DOT net>
> To: djgpp AT delorie DOT com
> Subject: Why is compiled a lot bigger than src?
> Date: Monday, March 24, 1997 08:43
> 
> When I was using TC++ I had a src that was only 14k and would compile to
> 22k, thru DJGPP it is compiling to 114k. I used gcc -o c.exe c.src and
> tried the optimizations but nothing helps...I might be naive or
somehting,
> ok thank you
> 
------=_NextPart_000_01BC3868.9612CCE0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D3 =
color=3D"#000000" face=3D"Arial Black">The increase in size is not =
proportional. &nbsp;It is merely due to the amount of code that you must =
have to support protected mode. &nbsp;i also think that DJGPP includes =
all the code from header file declarations instead of just what you =
need. &nbsp;DJGPP is far from perfect as I too have found out. =
&nbsp;Remember, Turbo C (whence I too emigrated) is a commercial =
product. &nbsp;People got paid to do nothing but sit around and work on =
it all day to make it better. &nbsp;DJGPP is a free product. =
&nbsp;People work on it in their spare time. &nbsp;In the long run DJGPP =
will be a better product because of this, but until then it still needs =
lots of work. &nbsp;If I had 12 hours a day to work on it, I might be =
able to get it up to Turbo C's level of performance in a year, but I =
don't. &nbsp;It will get there though. =
&nbsp;<br>::-)<br><br>---------------------------------------------------=
----------------------------<br>C code is like assholes, everyone's =
stinks but your own.<br>Looking at C code is like looking at your =
bedroom, a <br> &nbsp;complete mess to everone else, but you can tell =
them <br> &nbsp;where every little thing is.<br>C code is like Ex-Lax, =
great when it works but a pain <br> &nbsp;in the ass when it =
doesn't.<br>Explaining why C is better than Pascal is like explaining =
<br> &nbsp;why peanut butter is better than toe jam.<br>Explaining why =
Assembler is better than anything is like <br> &nbsp;explaining why =
being deaf is better than listening to <br> &nbsp;'The artist formerly =
known as Prince'.<br><br>----------<br>&gt; From: gecko &lt;<font =
color=3D"#0000FF"><u>gecko AT shell1 DOT tiac DOT net</u><font =
color=3D"#000000">&gt;<br>&gt; To: <font =
color=3D"#0000FF"><u>djgpp AT delorie DOT com</u><font =
color=3D"#000000"><br>&gt; Subject: Why is compiled a lot bigger than =
src?<br>&gt; Date: Monday, March 24, 1997 08:43<br>&gt; <br>&gt; When I =
was using TC++ I had a src that was only 14k and would compile =
to<br>&gt; 22k, thru DJGPP it is compiling to 114k. I used gcc -o c.exe =
c.src and<br>&gt; tried the optimizations but nothing helps...I might be =
naive or somehting,<br>&gt; ok thank you<br>&gt; </p>
</font></font></font></font></font></body></html>
------=_NextPart_000_01BC3868.9612CCE0--

- Raw text -


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