never mind, I tried again from scratch and typically can't replicate the problem, on the plus side it does mean I can compile gtk+-2.0 apps for my kindle touch.
-- the quick and dirty (not recommended) cross compile bodge --
to avoid having a bunch sym links when copying the kindle libs to my pc I dropped the version numbers after the .so
so
libBlah-2.0.so.1.2.3
becomes
libBlah-2.0.so
I stuck these in a local (to my dev folder) directory called libs
I'm using the includes from the host (which seems to work!)
arm-linux-gnueabi-gcc-4.6 gtk.c `pkg-config --cflags gtk+-2.0` -L./libs -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrender -lXinerama -lXext -latk-1.0 -lcairo -lexpat -lffi -lfontconfig -lfreetype -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lpango-1.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpixman-1 -lpng12 -lxcb-render -lxcb-shm -lXdamage -lXfixes -lz -lX11 -lxcb -lXau -lXdmcp -o gtktest
needless to say I'll be making a Makefile before long....
Last edited by chris_c; 08-25-2012 at 05:43 AM.
Reason: typo
|