Mail Archives: djgpp/1997/07/09/16:38:08
From: | ON <oded AT memco DOT co DOT il>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Fat exe files with gcc 271
|
Date: | Tue, 08 Jul 1997 13:40:50 +0300
|
Organization: | none
|
Lines: | 20
|
Message-ID: | <33C21932.2864@memco.co.il>
|
NNTP-Posting-Host: | cirithungol.memco.co.il
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I've compiled a 40 line program with gcc (djgpp v201) and I got a 90k
exe file !!
That's 10 times what I would get with Turbo-C.
The debug info counts for about 2k, so it makes it 88K.
I know gcc inserts a stub in the exe file, but it still doesn't explain
88K.
My only explaination is that ld puts some stuff it doesn't need in.
(I can't believe the compiler generates such fat code).
Any help would be appreciated.
Please reply by e-mail too.
Thank
- Raw text -