View previous topic :: View next topic |
Author |
Message |
lutherush n00b

Joined: 19 Mar 2012 Posts: 17
|
Posted: Tue Nov 19, 2013 7:49 pm Post subject: Cross compile GTK for arm |
|
|
Hi.
I need to cross compile GTK for arm.
CPU is 400 MHz Samsung S3C2440 ARM926T. I`m new to cross compiling.
Can anyone give me an advice how to setup crossdev and compile GTK with it? |
|
Back to top |
|
 |
xaviermiller Bodhisattva


Joined: 23 Jul 2004 Posts: 8723 Location: ~Brussels - Belgique
|
Posted: Tue Nov 19, 2013 8:34 pm Post subject: |
|
|
Hello,
Did you already the crossdev and cross-compiling guides ? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
 |
lutherush n00b

Joined: 19 Mar 2012 Posts: 17
|
Posted: Tue Nov 19, 2013 9:18 pm Post subject: |
|
|
Yes i did. crossdev is emerged and i build the toolchain.
I`m traying to build gtk with all libs for arm.
I set crossdev to arm-unknown-linu-gnueabi.
When traying to build gtk i got this
Code: | !!! The ebuild selected to satisfy ">=dev-libs/gobject-introspection-0.9.3" for /usr/arm-unknown-linux-gnueabi/ has unmet requirements.
- dev-libs/gobject-introspection-1.36.0-r1::gentoo USE="arm -cairo -doctool -test" PYTHON_SINGLE_TARGET="-python2_7" PYTHON_TARGETS="-python2_7"
The following REQUIRED_USE flag constraints are unsatisfied:
python_single_target_python2_7
The above constraints are a subset of the following complete expression:
python_single_target_python2_7? ( python_targets_python2_7 ) exactly-one-of ( python_single_target_python2_7 ) test? ( cairo )
(dependency required by "x11-libs/gtk+-2.24.22[introspection]" [ebuild])
(dependency required by "dev-haskell/gtk-0.12.4-r1" [ebuild])
(dependency required by "gtk" [argument])
NCC-1701-E# |
|
|
Back to top |
|
 |
xaviermiller Bodhisattva


Joined: 23 Jul 2004 Posts: 8723 Location: ~Brussels - Belgique
|
Posted: Tue Nov 19, 2013 9:58 pm Post subject: |
|
|
python will not cross-compile. You will not be able to cross-compile perl and python, so you will need to do it from the ARM board, using (cross-)distcc _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
 |
lutherush n00b

Joined: 19 Mar 2012 Posts: 17
|
Posted: Tue Nov 19, 2013 10:02 pm Post subject: |
|
|
Ok, thank you.
When building cross package, how to prevent portage to mess up my hosts packages? I mean, how to make portage only to build that one package and make a binary and not to rebuild half my system? |
|
Back to top |
|
 |
lutherush n00b

Joined: 19 Mar 2012 Posts: 17
|
Posted: Tue Nov 19, 2013 10:56 pm Post subject: |
|
|
It compiles. Thank you.
One question, where does he put the compiled files? I need to put them on some sort removable media and give it to my boss tomorrow. |
|
Back to top |
|
 |
|