"pc" 在目标架构三元组中的含义

Meaning of "pc" in target architecture triplet

我已经成功编译了目标 i686-linux-gnu 和 i686-pc-linux-gnu;他们似乎是等价的。有什么区别?

您可以在 GNU Coding Standards 中找到一些提示,您可以在其中阅读:

The configure script should also take an argument which specifies the type of system to build the program for. This argument should look like this:

cpu-company-system

For example, an Athlon-based GNU/Linux system might be ‘i686-pc-linux-gnu’. The configure script needs to be able to decode all plausible alternatives for how to describe a machine. Thus, ‘athlon-pc-gnu/linux’ would be a valid alias

此外,i686 通常指的是 32 位内核,而 x86_64 指的是 64 位内核,如您在此 SO thread.

中所见

特别有指导意义的是config.guess shell script,它向您展示了当构建类型未由选项或参数指定时考虑的所有可能性。