GNOME Bugzilla – Bug 669235
data-to-c helper breaks cross-compiling
Last modified: 2012-02-02 12:18:01 UTC
data-to-c is part of the build system, generating header files from binary data. However, it is currently written in C and thus when cross compiling, the executable is produced for the _target_ platform, which the host is usually unable to run. Some other helpers like glib-genmarshal are installed by the native build and it's possible to use e.g. /usr/bin/glib-genmarshal for the cross build. But that approach doesn't work for data-to-c because it's an internal helper and not installed during make install.
Created attachment 206615 [details] [review] Convert data-to-c.c to perl
*** This bug has been marked as a duplicate of bug 669224 ***