From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Symbols in EXE Date: Sat, 28 Jun 1997 00:49:25 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 26 Message-ID: <33B45F95.7D2@cs.com> References: <867455920 DOT 11481 AT dejanews DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp108.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk bor AT EuropeMail DOT com wrote: > > I'm working with GCC version 2.54 This version is highly obsolete. Get DJGPP v2.01 which comes with the latest gcc, 2.7.2.1. > If I compile program like this: > > printf("Hello!"); > > and then look at code with debugger (edebug32) I see that symbols are > included in executabile (i.e. there are call _printf , call _exit and so > on). > What switch may I use while compiling to disable putting symbols in > executabile. '-s' -- --------------------------------------------------------------------- | John M. Aldrich | "Autocracy is based on the assumption| | aka Fighteer I | that one man is wiser than a million | | mailto:fighteer AT cs DOT com | men. Let's play that over again, | | http://www.cs.com/fighteer | too. Who decides?" - Lazarus Long | ---------------------------------------------------------------------