Undefined references
Alexandre Julliard
julliard at winehq.org
Wed Oct 5 07:49:29 CDT 2005
Robert Lunnon <bobl at optushome.com.au> writes:
> Yes, fixed that but the linker still insists on including main() in the shared
> library. If I remove libwinecrt0.a from the link then the link goes OK and nm
> shows no references to main() in the shared library. Perhaps wine should have
> different runtime startofffs for shared objects and executables like gcc does
> for executable objects now at least this will remove any reliance on linker
> behaviour?
Well, we could add a dummy main() to make the linker happy, but I'd
really like to understand where that reference comes from.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list