Date: Tue, 5 May 1998 11:49:39 +0300 (IDT) From: Eli Zaretskii To: Archee/CoNTRACT <01dsolt AT vpg DOT hu> cc: djgpp AT delorie DOT com, dj AT delorie DOT com Subject: Re: DJGPP executables are quite big. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 15 Apr 1998, Archee/CoNTRACT wrote: > DJGPP produces quite big executables. > > Other linkers only include the procedures and variables are used. > If I compille my program with WATCOM C or VISUAL C, it is quite smalled. Please see the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP), section 8.15. It explains what to do about that. (In 99% of the cases, people just forget to use the -s switch when linking. Did you?). > I think it is not a good way to simply convert a.out to exe. Why? Converting to .exe only adds a 2KB stub, which is hardly a lot. > I think we have to make a linker for coff objects. The problem is that DOS doesn't know how to run COFF executables. That's one of the problems why we need the 2KB stub.