[Bug 677620] Ease cross compilation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 11 02:24:52 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677620
  GStreamer | gstreamer (core) | 0.10.35

--- Comment #4 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> 2012-06-11 09:24:50 UTC ---
One of the reason you would end up with $target/usr/bin in PATH is that you're
"lazy" and don't want to recompile the whole stack twice (one native, one
target). That's the approach taken by buildroot for example, they want to
reduce the build time as much as possible. In this case there are a few script
in $target/usr/bin that you can use (mostly perl/shell).

In my case I'm cross compiling (static compilation) with jhbuild for android.
The idea is to avoid to generate Android.mk files for every single package I'm
going to need in my app, and just compile the whole thing as I would do for a
normal jhbuild setup. And then just use the generated .a libraries in my
android app.

ac_cv_path_GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal will affect
detection of glib-genmarshal. Basically autoconf allows you to force the result
of some checks, in this case it avoids looking for glib-genmarshal in PATH and
instead takes the value you've given in the environment.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list