Re: cross compiling glib and glib-genmarshal
- From: "J. Ali Harlow" <ali juiblex co uk>
- To: Vlasios Tsiatsis <vlasios yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: cross compiling glib and glib-genmarshal
- Date: Sat, 24 Apr 2004 05:44:39 +0100
On 2004.04.23 23:32 Vlasios Tsiatsis wrote:
Hi all,
i am not sure if this is the right list to post this
question so i apologize if it is not.
I tried to cross compile glib for an arm-based
platform uing arm-linux-gcc on a i686-linux host.
The building process stopped because i didn't have the
binary glib-genmarshal on the host platform.
But this utility is part of the glib itself!
I noticed that for some reason this binary was
produced for the target platform (arm-linux) and not
for the host platform (i686-linux).
So what i did was the following:
I built glib for the host platform (i686-linux) and
installed the binaries in glib-2.4.0/obj.i686.
I updated the path to include glib-2.4.0/obj.i686/bin
(so that glib-genmarshal could be found).
Then i configured and built glib for the target
platform (arm-linux) and the process was successful.
Shouldn't glib-genmarshal be compiled using the host
gcc compiler instead of the target gcc compiler?
You (potentially) need the arm-linux binary to build
application programs and the i686-linux binary to
build Gtk+. While it would be theoritically possible
to build both of these in one invocation of make, in
practice it's much easier to require people to do it
in two seperate configure/make install operations as
you have described above.
HTH,
--
J. Ali Harlow
ali juiblex co uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]