www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/24/12:01:38

From: Hilaire Fernandes <hilaire DOT fernandes AT iname DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiled programs are HUGE!
Date: Mon, 24 Nov 1997 23:27:13 +0800
Organization: French School of Taipei
Lines: 15
Message-ID: <34799CD1.62561326@iname.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 971116141053 DOT 358W-100000 AT is>
Reply-To: hilaire DOT fernandes AT iname DOT com
NNTP-Posting-Host: h165.s111.ts.hinet.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>       So anyway, when I compile this insane (but incredibly short >source-code) I get 200k worth of EXE.
> When using PASCAL to do an equvilent thing this would take up 3k, using BC++ v3.0 this would take up 30k.
> But 200k is outragous! What is going on?
> ems with DJGPP.

The problem is just that DJGPP has to do some jobs in place of 16 bits
DOS  :(
In other platform as Risc PC, a hello.c file just take ~500 bytes once
compiled with GCC :)

-- 
________________________________________
Hilaire Fernandes
hilaire DOT fernandes AT iname DOT com
http://xoom.com/FeYiLai

- Raw text -


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