Does gobject-introspection support the cross-compile?
- From: LiRongQing <lrq2001 163 com>
- To: gtk-devel-list gnome org
- Subject: Does gobject-introspection support the cross-compile?
- Date: Tue, 12 Aug 2014 20:48:35 +0800 (CST)
Hi:
I want to compile gobject-introspection for arm cpu in x86 host,
The compilation failed since g-ir-compiler(compiled for arm) can not
run on x86.
Could you tell me if it supports the cross-compile, if not, what
should I do to enable it? like using the host's g-ir-compiler to work?
-Roy
| ./g-ir-compiler: line 117: /buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/build/.libs/lt-g-ir-compiler: cannot execute binary file: Exec format error
| ./g-ir-compiler: line 117: /buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/build/.libs/lt-g-ir-compiler: Success
| make[2]: *** [gir/xfixes-4.0.typelib] Error 126
| ./g-ir-compiler: line 117: /buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/build/.libs/lt-g-ir-compiler: cannot execute binary file: Exec format error
| ./g-ir-compiler: line 117: /buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/build/.libs/lt-g-ir-compiler: Success
| make[2]: *** [gir/xlib-2.0.typelib] Error 126
| Traceback (most recent call last):
| File "./g-ir-scanner", line 44, in <module>
| from giscanner.scannermain import scanner_main
| File "/buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/gobject-introspection-1.40.0/giscanner/scannermain.py", line 35, in <module>
| from giscanner.dumper import compile_introspection_binary
| File "/buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/gobject-introspection-1.40.0/giscanner/dumper.py", line 28, in <module>
| from .gdumpparser import IntrospectionBinary
| File "/buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/gobject-introspection-1.40.0/giscanner/gdumpparser.py", line 31, in <module>
| from .transformer import TransformerException
| File "/buildarea1/lirq/mips/bitbake_build/tmp/work/mips64-wrs-linux/gobject-introspection/1.40.0-r0/gobject-introspection-1.40.0/giscanner/transformer.py", line 27, in <module>
| from .girparser import GIRParser
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]