Re: cross compiling and ld auto-import errors
- From: Tor Lillqvist <tml iki fi>
- To: gtk-app-devel-list gnome org
- Subject: Re: cross compiling and ld auto-import errors
- Date: Thu, 7 Jun 2007 14:15:37 +0300
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 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 when
cross-compiling.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]