www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/28/08:37:04

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Is there an option in DJGPP to name functions name as is?
Date: Sun, 28 Nov 1999 11:46:40 +0200
Organization: NetVision Israel
Lines: 19
Message-ID: <Pine.SUN.3.91.991128114608.6867S-100000@is>
References: <9FE%3.35$t12 DOT 2812 AT newscontent-01 DOT sprint DOT ca>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 943782308 5619 199.203.121.2 (28 Nov 1999 09:45:08 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 28 Nov 1999 09:45:08 GMT
X-Sender: eliz AT is
In-Reply-To: <9FE%3.35$t12.2812@newscontent-01.sprint.ca>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 26 Nov 1999, Jay wrote:

> I wanted to know if there was an command line option in DJGPP that names all
> C functions "as is", that is without adding the underscore before each
> function name.

Beware: if you do that, you will not be able to call any library
functions, since they were all compiled with underscores prepended.

You will also need to rebuild all the libraries with the appropriate
GCC switch to turn this off, and also rebuild Binutils after
configuring them with this option.  I also think that GDB knows about
underscores, so it (and the debugger built into RHIDE) won't work
without recompiling.

Given all this trouble, are you sure you want it?  Can you explain why
would you need to disable underscores?  I cannot imagine how can they
hurt anybody.

- Raw text -


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