This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __main
Fergus Henderson wrote:-
> On 02-Sep-2002, Mike Laman <mlaman@cox.net> wrote:
> > I'm creating the port (working on my third month on this project).
>
> In that case, why don't you define NAME__MAIN and SYMBOL__MAIN
> in your target header files?
>
> ("set NAME__MAIN to give a quoted symbol and SYMBOL__MAIN to
> give the same symbol without quotes for an alternative entry point.
> You must define both, or neither.")
Why not just define one in terms of the other? I could never
figure that out.
Neil.