Re: Cross-compiling glib for arm
- From: Clive Chapman <anbeyon btinternet com>
- To: gtk-list gnome org
- Cc:
- Subject: Re: Cross-compiling glib for arm
- Date: Wed, 18 May 2005 12:51:50 +0100
Hi again !
Carlo I just re-ran ./configue using the --cache-file option and ended up
adding each of the 3 option you included one after another.
I then did not have any more problems - .configure finished without error.
If I check the config.log file for a section with 'glib-genmarshal' in it I
find;
.
.
configure:37677: checking for glib-genmarshal
configure:37695: found /opt/gnome/bin/glib-genmarshal
configure:37708: result: /opt/gnome/bin/glib-genmarshal
.
.
So it'a already on my host machine in /opt/gnome/bin/glib-genmarshal
more information here.....
http://developer.gnome.org/doc/API/2.0/gobject/glib-genmarshal.html
I hope that helps.... at least a little bit
Clive
>Hi Carlo
>
>I too am trying to get GTK...glib 1st cross compiled for Arm.
>
>I am not using scratchbox but am using arm-linux-gcc (GCC) 3.3.2
>
>perhaps we can share experiences as we go :0)
>
>I have been having problems with my linker not finding the libraires I solved
>that now
>
>I have invoked /.configure as below
>
>./configure CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc --host=arm-linux
>--build=i686-linux
>--prefix=/home/anbeyon/Documents/Projects/Chord/Pandora4/Software/GTK/GTKBuild/glib
>
>this causes configure process ends with;
>.
>.
>.
>checking for format to printf and scanf a guint64... none
>checking for an ANSI C-conforming const... yes
>checking if malloc() and friends prototypes are gmem.h compatible... yes
>checking for growing stack pointer... configure: error: cannot run test
>program while cross compiling
>See `config.log' for more details.
>
>Do you have any ideas what that means - I'm pretty new to ./config and large
>packages like GTK
>
>Do I need to add --cache-file=arm_cache.conf and create arm_cache.conf ?
>
>Regards,
>
>CLive
>
On Wednesday 18 May 2005 11:19, Carlo wrote:
> Hello all,
>
> it's now time to begin using gtk on embedded devices; therefore, as a
> first step, I'm trying to cross-build glib - using both a basic
> toolchain (gcc-3.2.2) and scratchbox 1.0 (gcc-3.3.4).
>
> In particular, I used under scratchbox following configure instruction:
>
> ./configure --host=linux-arm --cache-file=arm_cache.conf
>
> with following lines in arm_cache.conf:
>
> glib_cv_stack_grows=no
> ac_cv_func_posix_getpwuid_r=yes
> glib_cv_uscore=yes
>
> but the configure process ends with:
>
> ...
> checking for EILSEQ... yes
> checking for glib-genmarshal... no
> configure: error: Could not find a glib-genmarshal in your PATH
>
> This is confusing me; how can it look for glib-genmarshal *before*
> having built glib? What am I loosing here?
>
> TIA,
> Carlo
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]