Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cross compile GTK for arm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
lutherush
n00b
n00b


Joined: 19 Mar 2012
Posts: 17

PostPosted: Tue Nov 19, 2013 7:49 pm    Post subject: Cross compile GTK for arm Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8704
Location: ~Brussels - Belgique

PostPosted: Tue Nov 19, 2013 8:34 pm    Post subject: Reply with quote

Hello,

Did you already the crossdev and cross-compiling guides ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
lutherush
n00b
n00b


Joined: 19 Mar 2012
Posts: 17

PostPosted: Tue Nov 19, 2013 9:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8704
Location: ~Brussels - Belgique

PostPosted: Tue Nov 19, 2013 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
lutherush
n00b
n00b


Joined: 19 Mar 2012
Posts: 17

PostPosted: Tue Nov 19, 2013 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
lutherush
n00b
n00b


Joined: 19 Mar 2012
Posts: 17

PostPosted: Tue Nov 19, 2013 10:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum