www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/29/02:34:01

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 |
---------------------------------------------------------------------

- Raw text -


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