From: Hilaire Fernandes 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: Reply-To: hilaire DOT fernandes AT iname DOT com NNTP-Posting-Host: h165.s111.ts.hinet.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > 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