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@xxxxxxxxx]
Sent: Wed 11/29/2006 5:49 PM
To: Shyjumon N.
Cc: gtk-list@xxxxxxxxx
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@xxxxxxxxx
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/ld: 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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list
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@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list