View previous topic :: View next topic |
Author |
Message |
dimm Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Jan 2009 Posts: 89
|
Posted: Wed Mar 25, 2009 10:57 am Post subject: Host arch i686 , target arch mips |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ddc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 29 Aug 2006 Posts: 525
|
Posted: Thu Apr 02, 2009 3:25 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dimm Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Jan 2009 Posts: 89
|
Posted: Fri Sep 11, 2009 12:36 pm Post subject: |
|
|
Is bitbake is best choise if i want to development my own software for mips-based adsl router (based on bcm6338) ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ddc Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 29 Aug 2006 Posts: 525
|
Posted: Tue Sep 15, 2009 3:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|