Re: [SPAM] cross compiling and ld auto-import errors
- From: Gabriele Greco <gabriele greco darts it>
- To: Bethany Seeger <seeger prosensing com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: [SPAM] cross compiling and ld auto-import errors
- Date: Thu, 07 Jun 2007 13:04:46 +0200
Bethany Seeger wrote:
>From what I've read, I need to force (external) constants to be
variables, but I'm not sure how I can do that when the errors are coming
from the glib library, underneath Gtk/Gdk. (or declare them explicitly
with __declspec(dllimport)).
I'm relatively new to cross-compiling, so I'm a little baffled as to
where to go with this.
If this can be of any use when I crosscompile I don't link directly with
the DLLs but with the import files provided in the gtk-*-dev archives:
In my makefile I have this (I've a win32 target that uses CROSSDIR,
CROSSCXX, CROSSLIBS instead of the standard ones):
CROSSLIBS = -L$(CROSSDIR)/lib/gtk-2.0 -mwindows -mno-cygwin \
-mms-bitfields -lgtk-win32-2.0.dll -lgdk-win32-2.0.dll -\
-latk-1.0.dll -lgdk_pixbuf-2.0.dll -lpango-1.0.dll
-lpangowin32-1.0.dll \
-lgmodule-2.0.dll -lgobject-2.0.dll -lglib-2.0.dll
-lgthread-2.0.dll \
-lstdc++ -luser32 -lws2_32 -lexpat -ljpeg
ls /usr/i586-mingw32msvc/lib/gtk-2.0/
lib libgdk_pixbuf-2.0.dll.a libgmodule-2.0.dll.a
libgtk-win32-2.0.dll.a libpangoft2-1.0.dll.a
libatk-1.0.dll.a libglib-2.0.dll.a libgobject-2.0.dll.a
libpango-1.0.dll.a libpangowin32-1.0.dll.a
libgdk-win32-2.0.dll.a libglib.dll.a libgthread-2.0.dll.a
libpangocairo-1.0.dll.a
--
Bye,
Gabry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]