RE: gtk cross compilation
- From: Sergei Steshenko <sergstesh yahoo com>
- To: "Shyjumon N." <shyjumon n ttec soc-soft com>, steve kirby <thin_runner yahoo com>
- Cc: gtk-list gnome org
- Subject: RE: gtk cross compilation
- Date: Wed, 6 Dec 2006 23:15:10 -0800 (PST)
--- "Shyjumon N." <shyjumon n ttec soc-soft com> wrote:
> Hi Steve,
>
> Actually last week I cross compile gtk-directfb for ARM, you
> won't get x11 lib in arm targets, they have only difectfb support, so
> you need to cross compile gtk-directfb and also refer your root file
> system and find out whether there is support for gtk-directfb.
>
> And when your cross compiling gtk-directfb, you have to do a lot of
> changes in configure file and Makefile, the files coming with packages
> need to be edited.
>
>
>
> With regds,
>
>
>
> Shyjumon N
>
> Mobile: +91-9945006965
>
>
>
> ________________________________
>
> From: steve kirby [mailto:thin_runner yahoo com]
> Sent: Thursday, December 07, 2006 5:16 AM
> To: Sergei Steshenko; Shyjumon N.; Magnus Myrefors
> Cc: gtk-list gnome org
> Subject: RE: gtk cross compilation
>
>
>
> Hello,
>
>
>
> I am trying to do the exact same thing -- cross-compile GTK+-2.10.6 for
> arm-linux.
>
>
>
> "./configure --host=arm-linux" gets pretty far then stops with:
>
>
>
>
>
> checking for TIFFFlushData in -ltiff34... no
> configure: WARNING: *** TIFF loader will not be built (TIFF library not
> found) ***
> configure: error:
> *** Checks for TIFF loader failed. You can build without it by passing
> *** --without-libtiff to configure but some programs using GTK+ may
> *** not work properly
>
>
>
> So I tried it with --without-libtiff and it complained about JPEG lib.
> So added --without-libjpeg and it is saying
>
>
>
> checking for XOpenDisplay... no
> configure: error: *** libX11 not found.
>
>
>
> The config.log indicated that the libX11.a (and the libX11.so) it found
> were incompatible (for ARM). Are there X11 libs out there for ARM?
>
>
>
> Has anybody gotten GTK+-2 to cross-compile for arm-linux?
>
>
>
> I haven't had a chance to look at your tool Sergei - does it do this
> type of thing?
>
>
>
> TIA,
>
> Steve
>
> Sergei Steshenko <sergstesh yahoo com> wrote:
>
>
> --- "Shyjumon N." wrote:
>
> > Hi Magnus Myrefors,
> > Thanks for your support. actually what i can find is in my
> arm-linux cross compiler,
> > is not having lib corresponding to gtk, it uses my gtk lib
> available for i386 archi.
> > and that now creating an elf but not run in arm, only on i386.
> > now my question is wheather i need to get a gtk version for
> arm or down load the gtk source and
> > cross compile it for arm and then use it.
> > Even i tried it... but i do't know is it the right way to.
> > Please advice me.
> >
> > With regds,
> >
> >
> >
> > Shyjumon N
> > Mobile: +91-9945006965
> >
> >
> >
> > -----Original Message-----
> > From: Magnus Myrefors [mailto:myrefors magnus telia com]
> > Sent: Wed 11/29/2006 5:49 PM
> > To: Shyjumon N.
> > Cc: gtk-list gnome org
> > Subject: Re: gtk cross compilation
> >
> > gtk cross compilationHi,
> >
> > Make sure that your PKG_CONFIG_PATH points to the directory
> which contains the pc-files.
> > Can you really use the gcc command when you cross-compile ? To
> make sure that it is the
> > cross-compiler that is used I suggest you use another name for
> it.
> > When I compile I have to write `pkg-config --cflags gtk+-2.0
> --libs gtk+-2.0` instead of
> >
> > `pkg-config --cflags --libs gtk+-2.0`.
> >
> > magnus m
> > ----- Original Message -----
> > From: Shyjumon N.
> > To: gtk-list gnome org
> > Sent: Wednesday, November 29, 2006 12:30 PM
> > Subject: gtk cross compilation
> >
> >
> > Hi All,
> > is there any documentaion for gtk+ cross compilation for arm
> boards.
> > or is there any clues for the following error.
> >
> > [root localhost ~]# /root/arm/usr/arm-linux/bin/gcc -o hello
> helloworld.c `pkg-config --cflags
> > --libs gtk+-2.0`
> >
> >
> /root/arm/usr/bin/../lib/gcc/arm-linux/4.0.0/../../../../arm-linux/bin/l
> d: cannot find
> > -lgtk-x11-2.0
> > collect2: ld returned 1 exit status
> >
> >
> > With regds,
> >
> >
> >
> > Shyjumon N
> > Mobile: +91-9945006965
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------
> ------
> >
> >
> > The information contained in this e-mail message and in any
> annexure is confidential to the
> > recipient and may contain privileged information. If you are
> not the intended recipient, please
> > notify the sender and delete the message along with any
> annexure. You should not disclose, copy
> > or otherwise use the information contained
> > in the message or any annexure. Any views expressed in this
> e-mail are those of the individual
> > sender except where the sender specifically states them to be
> the views of SoCrates Software
> > India Pvt Ltd., Bangalore.
> >
> >
> >
> >
> ------------------------------------------------------------------------
> ------
> >
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> > > The information contained in this e-mail message and in any
>
=== message truncated ===> The information contained in this e-mail message and in any annexure is
confidential to the
> recipient and may contain privileged information. If you are not the intended recipient, please
> notify the sender and delete the message along with any annexure. You should not disclose, copy
> or otherwise use the information contained
> in the message or any annexure. Any views expressed in this e-mail are those of the individual
> sender except where the sender specifically states them to be the views of SoCrates Software
> India Pvt Ltd., Bangalore.
> > _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
If one needs to edit Makefiles manuaaly, it's a bug, so it should be filed if
it hasn't been yet.
The whole idea of
./configure;make;make install
is that it should work on any supported platform, and my understanding is that
ARM + FB is a supported platform.
--Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]