Tor Lillqvist wrote:
> I would leave out the .dll here to avoid risking confusion. (Somebody
> might think you are referring to the dll files themselves here.) The
> Win32-targeted linker looks for also libfoo.dll.a, not just libfoo.a
> when it encounters -lfoo. At least natively, presumably also w
Gabriele Greco writes:
> CROSSLIBS = -L$(CROSSDIR)/lib/gtk-2.0 -mwindows -mno-cygwin \
The -mno-cygwin switch does nothing when compiling with a pure Win32
(mingw) compiler, as no Cygwin is involved at all.
> -lgtk-win32-2.0.dll -lgdk-win32-2.0.dll
I would leave out the .dll here to avoid risk
Never mind, I solved it. There were a few g_mutex_lock/unlock calls in
the code and that seemed to be the problem. I replaced them with
gdk_threads_enter() and gdk_threads_leave() (after ensuring that
g_threads_init() and gdk_threads_init() were both called) and the linker
was much happier.
-Bet