> Anyone cross-compiling gtk2 apps that would share their setup/methods?
I have a cross-compiler in /usr/local/arm. I set
CC=/usr/local/arm/arm-linux/bin/arm-linux-gcc LD=... etc. just like I do
for normal cross-compiling.
I usually hack makefiles so LDFLAGS=`pkgconfig --libs gtk+-2.0 | sed
s#-L/gnome/head/INSTALL/lib##`, but leave CFLAGS alone.
I have gtk2 etc. in /gnome/head/INSTALL, the 'sed' command removes the
-L statement but leaves -lgtk2 -lglade etc. etc. whatever is needed.
Without a path to pick up my x86 libraries, it falls back to
/usr/local/arm/arm-linux/lib.
So: scp "root@ipaq:/usr/lib/*.so*" /usr/local/arm/arm-linux/lib/
That's what I do anyway...
> Adam
HTH;
mibus
-- Robert Mibus <mibus@bigpond.com> "I'm not a god, I was misquoted." (Lister, Red Dwarf)Received on Thu Nov 07 01:04:27 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:30 EDT