Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Host arch i686 , target arch mips
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
dimm
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2009
Posts: 89

PostPosted: Wed Mar 25, 2009 10:57 am    Post subject: Host arch i686 , target arch mips Reply with quote

Hello!
I was build toolchain for mips ( `crossdev -t mips` ) .
Now one moment is not fully understand for me.
If i do `CHOST=mips-unknown-linux-gnu emerge <package>` , then package will be install in my host system?
Am i right, that i must run emerge with some options for not install package?
And then copy compiled binary file to target system.

May be this will be good:
Code:

mkdir ~/mips
ROOT=~/mips CHOST=mips-unknown-linux-gnu emerge wget


or may be i must fetch sources of tcpdump from tcpdump.org unpack them and do:
Code:

./configure --host=mips-unknow-linux-gnu


or may be i must fetch stage3 for mips, unpack them on i686, chroot into mips stage3, and work in them?

Which way? It is only my choise, or i must know some information?

Regards.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Thu Apr 02, 2009 3:25 pm    Post subject: Reply with quote

the crossdev is a pain in your ass

you can simplify your life using bitbake, or an other crosscompiling tool
then converting it in order to cross-emerge
Back to top
View user's profile Send private message
dimm
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2009
Posts: 89

PostPosted: Fri Sep 11, 2009 12:36 pm    Post subject: Reply with quote

Is bitbake is best choise if i want to development my own software for mips-based adsl router (based on bcm6338) ?
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Tue Sep 15, 2009 3:23 pm    Post subject: Reply with quote

well bitbake is pretty similar (but different) to emerge-portage in the meaning it is pretty able to build an full distro (for example Angstrom) as easy as it could build a single "package" (similar to ebuild concept ? yes)

personally i can suggest bitbake in order to build your cross-compiler-tools-chain

personally i do not use bitbake, i like to use x-cross-dev (that is a collection of patches) to know which patch has to been applied to binutils/gcc/etc, then i manually configure&build stuff: this is the dirty work done by {emerge, bitbake}
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