Robert Lunnon bobl@optushome.com.au writes:
Yes, thats the way I see it, from what I can see winegcc is being called with -shared but is not emitting -shared in the subsequent gcc command and includes libwinecrt0.a which would be wrong for linking a shared library. Seems winegcc is broken.
Including libwinecrt0.a is correct, it contains the runtime for both dlls and exes. The -shared flag is not defined in LDDLLFLAGS for Solaris, so it sounds that it's the configure check that is wrong.