Cross compiling target and host assembly

Possible duplicate:
What is the difference in the `. / Configure` option --build`,` --host` and `--target`?

This is due to What is the difference between the `. / Configure` option --build`,` --host` and `--target`? . I did not understand the difference between the host and the target. Therefore, I ask for this with an example.
 I am trying to create code on my PC. I assume it will be i686-pc-linux. I want to run code on a mipsel based platform. I have a toolchain for this platform (mipsel-linux-gcc, etc.), What should I give as values ​​for placement, assembly and intended use.

Please do not close duplicates unless this is a question that explains this with an example :-)
I already read the GCC documentation and am still puzzled to be honest

+5
source share
1 answer

And I found the answer after posting this question. Still posting it here, he is helping someone else in the future.
http://jingfenghanmax.blogspot.in/2010/09/configure-with-host-target-and-build.html
According to this blog in my case
build will be i686-pc-linux-gnu (My PC) the
host will be mipsel- linux (the platform on which I will run my code)
target will be used if I create a cross-compilation toolchain.
Since I am not creating a toolchain, I did not need to specify a target.

+9

All Articles