On Wednesday 05 October 2005 22:49, Alexandre Julliard wrote:
> Robert Lunnon <[EMAIL PROTECTED]> 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.

libwine.so references main it's linked through the -lwine argument to winegcc.


Reply via email to