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?

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}