delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | tupdegrove AT agere DOT com (Tim Updegrove) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Executable size |
Date: | 19 Dec 2001 08:18:47 -0800 |
Organization: | http://groups.google.com/ |
Lines: | 11 |
Message-ID: | <98cd06c8.0112190818.309c1f76@posting.google.com> |
NNTP-Posting-Host: | 192.19.194.27 |
X-Trace: | posting.google.com 1008778727 2507 127.0.0.1 (19 Dec 2001 16:18:47 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | 19 Dec 2001 16:18:47 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Quick background. I'm using the DJGPP compiler for allocating memory with physical addresses for use with a PCI based DMA controller. The program runs in DOS and everything works fine. Our only complaint is the executable size. A simple "hello world" program is 105kb. We have heard of other compilers/environments where the executable size was 40kb with functional user code. Is there any way (option) to reduce the size of the stub or whatever? If this is not possible in DJGPP, which we like and are familiar with, are there other compilers/environments that would produce a much smaller DOS executable?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |