delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/01/02:55:40

Xref: news2.mv.net comp.os.msdos.djgpp:3289
From: u951303 AT rouen DOT daimi DOT aau DOT dk (Kristian H|gsberg Kristensen)
Newsgroups: comp.os.msdos.djgpp
Subject: Size of executable
Date: 29 Apr 1996 14:54:24 +0200
Organization: DAIMI, Computer Science Dept. of Aarhus Univ.
Lines: 12
Sender: u951303 AT rouen DOT daimi DOT aau DOT dk
Message-ID: <y6yu3y3xkan.fsf@rouen.daimi.aau.dk>
NNTP-Posting-Host: rouen.daimi.aau.dk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

It seems to me that the executable file produced by gcc is guite large...?
I compiled the standard "Hello, world"-program, and the output executable 
took up 57k, 32k when compiled with the -s option.
 
I know that there's got to be this stub-loader, dpmi-interfacing etc. 
but does this really take up all this space, or did I just overlook 
some switch? What are the options if you want to reduce the size of
the output?

I hope this question hasn't been brought up too often :)

Kristian Hogsberg - u951303 AT daimi DOT aau DOT dk

- Raw text -


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