From: Andrew Crabtree 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 Precedence: bulk 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