delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/18/13:15:04

From: steve AT dosius DOT zzn DOT com (Dosius)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question?
Date: 18 Mar 2003 10:14:21 -0800
Organization: http://groups.google.com/
Lines: 25
Message-ID: <9307085f.0303181014.239c0598@posting.google.com>
References: <20030318154745 DOT 95358 DOT qmail AT web40802 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: 204.168.131.19
X-Trace: posting.google.com 1048011261 4332 127.0.0.1 (18 Mar 2003 18:14:21 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 18 Mar 2003 18:14:21 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

adel khaleghi <adelkhaleghi AT yahoo DOT com> wrote in message news:<20030318154745 DOT 95358 DOT qmail AT web40802 DOT mail DOT yahoo DOT com>...
> Hello
> First sorry for my bad english.
> I have a question.
> 
> I compiled following code with gcc and borland c
> compiler:
> 
> #include <stdio.h>
> 
> int main(void){
> 	printf("Hello world!");
> 	return 0;
> }
> 
> gcc a.c -o a.exe (for gcc compiler under windows)
> 
> the size of exe file that gcc maked (80KB) and the
> size of exe
> file that borlandc maked (8KB) . why???
> 

Try to "strip -s" the binary and see if it goes down.  (Debug information)

-uso.

- Raw text -


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