Cross Compiling GTK+ on x86 for ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
 
I am trying to cross compile the GTK+ libraries with DirectFB and all of its dependent libraries on a Linux machine with the x86 architecture for an ARM board.
I am using the cross toolchain gcc-3.3.4-glibc-2.3.2.
 
I just can't seem to get the process to work completely from start to end.
My first question is - has anyone completed this process successfully and have it documented somewhere that I can take a look at?
 
Second - the main issue I have come across that is a currently a road block for me is the following:
 
When I try to install the ATK libraries after I have made the GLIB libraries I get the following error:
 
glib-genmarshal: error while loading shared libraries: /usr/TS7390GTKfb/lib/libglib-2.0.so.0: ELF file OS ABI invalid

This tells me that the host version of glib-genmarshal can’t read the libglib that I just built because its for the target.
So I set the PATH to the glib-genmarshal that was built while cross-compiling glib but the host can’t run that program because the binary is from ARM (my target board).

From the web the only solution I can find is to unset the LD_LIBRARY_PATH while making ATK - but that seems wrong to me because ATK would then pick up the host version of GLIB, not newly built target version - and also without having LD_LIBRAY_PATH set to the lib of my development area - $PREFIX/lib - the make doesn’t know where to pick up the other libraries - in my case libfusion.

Does anyone have a solution to this problem? I can only imagine that most would come across this if following the same procedure.
Any help is much appreciated.

Thanks,
Sean.
 
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux