Hi Mike, I got the idea of cross compiling gtk from this site....
http://64.233.167.104/search?q=cache:2rrnhkoB_2sJ:www.superhlinux.com/user_guide/getting_started/gtk2_cross_compile.php3%3Fprint%3D1+%22The+STMicroelectronics+Embedded+Linux+Distribution%22&hl=tl&client=firefox-a It's unavailable now, I just search it from its cache. I hope this will help... By the way, did you already follow the steps that i gave while ago??? On 1/5/06, mike lee <[EMAIL PROTECTED]> wrote: > Antonio Gomes wrote: > > >Hi, > > > >Take a look at scratchbox (www.scratchbox.org) for a rapid cross > >compile environment ;) > > > > > Actually, i have tried that before, but i accidently crash my root > path.... a nightmare.... > if there is another way out i will choose that rather than this > > >On 1/4/06, mike lee <[EMAIL PROTECTED]> wrote: > > > > > >>[EMAIL PROTECTED] wrote: > >> > >> > >> > >>>Hi > >>> > >>>On Thu, 05 Jan 2006 10:49:04 +0800 > >>>mike lee <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>>> I fail to cross compile latest glib 2.6 and also 2.0 with > >>>> ./configure --prefix=/usr/local/arm/3.4.1/arm-linux --host=arm-linux > >>>> make > >>>> > >>>> > >>>> > >>>> > >>>Check which CC is used in building. I suppose you will find > >>>gcc is used instead of arm-linux-gcc. I think both of --host > >>>and --build options are required to teach ./configure to work > >>>for cross building. If you use --host only, ./configure simply > >>>misunderstands "i am in arm-linux". > >>> > >>> > >>> > >>> > >>--build option is guessed correctly and it is recognized as cross > >>compiling, but it seem that glib can not accept cross compile. > >> > >> > >> > >>>In addition to, using "--prefix=/usr/local/arm/3.4.1/arm-linux" > >>>is not recommended, because the built binaries will lookup > >>>files (shared libraries, configuration files, messsage catalogues, > >>>etc etc) from /usr/local/arm/3.4.1/arm-linux on your target system. > >>> > >>> > >>> > >>> > >>> > >>>> Also try to fake configure, but it fail to run glib-genmarshal which > >>>>can not excute in i386. > >>>> ./configure > >>>> make CC=arm-linux-gcc LD=arm-linux-ld > >>>> > >>>> > >>>> > >>>> > >>>When you execute ./configure, the environment is configured > >>>to build on your host. It's too late to teach CC and LD. > >>> > >>> > >>> > >>> > >>It is the only way out for me. > >> > >> > > > >-- > > > >--Antonio Gomes > > > >if (yourJob == boring) { > > // Go to the opensource community for (at least) having fun > > sendRedirect ("http://www.whateveronlinux.org"); > > > >} else { > > > > suck_it_up (you); > >} > >_______________________________________________ > >gtk-list mailing list > >gtk-list@gnome.org > >http://mail.gnome.org/mailman/listinfo/gtk-list > > > > > > > > > -- > Software Engineer > Mike Lee > AvantWave Ltd. > Direct: (852) 2952 7125 > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-list > _______________________________________________ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list