Also to summarize the configuration parameters in configure the meaning and difference of host and target

Source: Internet
Author: User

Before we say the difference between host and Target, let's talk about the use of build. The summary is as follows:

1, build refers to the compiler server, is generally i386, you can not add this parameter. Who compiles executable programs on arm or other target boards? It's very rare.
2. Target is used to compile the tools that are executed locally on the server, but are used for cross compilation of the target Board program, such as Binutils, Elfutils, GCC, and so on. This is generally rarely used.

3, Host!=build when the cross-compilation, compiled program is on target targets on the board run. When the Host==build. Of course, compiling locally executed programs, such as Binutils, Elfutils, GCC, as we said earlier.

Cross tool chain Elfutils is needed to compile the Systemtap tool. Compiling the Elfutils tool is the same as the binutils, with Target, and the host should be the same as the build. As shown below:
./configure--host=i386-linux--target=mips64-octeon-gnu-linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.