After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669235 - data-to-c helper breaks cross-compiling
data-to-c helper breaks cross-compiling
Status: RESOLVED DUPLICATE of bug 669224
Product: glib
Classification: Platform
Component: build
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-02-02 11:46 UTC by Kalev Lember
Modified: 2012-02-02 12:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Convert data-to-c.c to perl (4.37 KB, patch)
2012-02-02 11:47 UTC, Kalev Lember
none Details | Review

Description Kalev Lember 2012-02-02 11:46:10 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.
Comment 1 Kalev Lember 2012-02-02 11:47:18 UTC
Created attachment 206615 [details] [review]
Convert data-to-c.c to perl
Comment 2 Alexander Larsson 2012-02-02 12:18:01 UTC

*** This bug has been marked as a duplicate of bug 669224 ***