|
From: Andrea G. <Gal...@ko...> - 2010-10-27 13:10:59
|
I've got a method named OmegaStartup:
void OmegaStartup(void)
{
MemConfig();
mainCRTStartup();
}
and I wanna it to to be the entry point of my application, so I use the
option -e OmegaStartup(void) but the compiler throws the following warning:
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
warning: cannot find entry symbol OmegaStartup; defaulting to 00401000
To be more specific I'm currently using NetBeans as IDE, so it generates
a make file to build the project.
Does anybody have any idea why it cannot find the entry symbol but the
same function is linked correctly?
|