__main?
Axel Kittenberger
Anshil@gmx.net
Fri Jan 26 01:25:00 GMT 2001
Hi,
I'm trying to compile a freestanding application with gcc 2.95.2
Unfortunally one of my routines is called "main", and somehow gcc seems to
handle that one specially :), however in my case this just a function like
every one else.
To be exact, after compiling that file containing the main function it stops
at linking stage with an unresolved link to "__main". I've searched
everything on this, and I'm quite certain that I never explicity refer to it with
underscores. Did gcc create that? or what is it? the _REAL_ entry point for
normal OS based applications?
btw: -ffreestanding did not help....
Regards,
- Axel
--
Sent through GMX FreeMail - http://www.gmx.net
More information about the Gcc-help
mailing list