Mail Archives: djgpp-workers/1997/07/11/16:27:55
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 -