delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/07/11/16:27:55

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199707112025.AA081222741@typhoon.rose.hp.com>
Subject: libgcc.a problem in latest gcc snapshot
To: djgpp-workers AT delorie DOT com
Date: Fri, 11 Jul 1997 13:25:41 PDT

Hi Guys - 

As part of the pgcc debugging process I have found that 
libgcc.a includes a file __main.o that defines the 
symbol __main.  I noticed that in the binary gcc2721 distribution
from DJ it does not include a file with a __main symbol.

One possible fix for this problem is to preprocessor declare 
NAME__MAIN and SYMBOL__MAIN to be something besides __main.  That 
will cause the resulting function to be named differently so as 
not to conflict with libc's _main. 

Any thoughts on this, or suggestions as to other ways to get around the 
problem.  I'm not on the list BTW.

Thanks, 

Andrew

- Raw text -


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