./configure配置的参数 交叉编译 host,build target的含义
2010-05-14 20:55
495 查看
交叉编译 host,build
target的含义:
build就是你正在使用的机器,
host就是你编译好的程序可以运行的平台,
target就是你编译的程序可以处理的平台.
这个
build和host比较好理解,但是target就不好办了,到底什么意思呢?
一般来说,我们平时所说的交差编译用不到他target的,
比如.
/configure --build=i386-linux,--host=arm-linux就可以了,在386的平台上编译可以运行在arm板的程序.
但是target的意思是什么呢?
如果我们用举一个GCC的例子进行说明:
按照如下配置:
./configure --build=i386-linux --host=arm-linux --target=mips-linux
它的意思就是:
现在在i386-linux平台上编译一个运行在arm-linux平台上的GCC,可是这个GCC是用于生成编译
可以运行在mips平台上的程序。
如果有不正确的地方请大家指正,希望对大家有用。
target的含义:
build就是你正在使用的机器,
host就是你编译好的程序可以运行的平台,
target就是你编译的程序可以处理的平台.
这个
build和host比较好理解,但是target就不好办了,到底什么意思呢?
一般来说,我们平时所说的交差编译用不到他target的,
比如.
/configure --build=i386-linux,--host=arm-linux就可以了,在386的平台上编译可以运行在arm板的程序.
但是target的意思是什么呢?
如果我们用举一个GCC的例子进行说明:
按照如下配置:
./configure --build=i386-linux --host=arm-linux --target=mips-linux
它的意思就是:
现在在i386-linux平台上编译一个运行在arm-linux平台上的GCC,可是这个GCC是用于生成编译
可以运行在mips平台上的程序。
如果有不正确的地方请大家指正,希望对大家有用。
相关文章推荐
- ./configure配置的参数 交叉编译 host build target的含义(转)
- ./configure配置的参数 交叉编译 host,build target的含义
- 交叉编译的参数简述--build、host和target
- 交叉编译的参数简述--build、host和target
- 交叉编译的参数简述--build、host和target
- 也来小结一下configure中的配置参数host和target的含义和区别
- 交叉编译参数--build、host和target的区别
- 交叉编译基础 理解 host build target
- 交叉编译中的build,host,target
- 关于configure的build,host,target编译选项的理解.
- configure文件中的build、host、target含义
- linux confure文件参数配置build,host,target
- 交叉编译基础 host,build,target
- 交叉编译: --host --build --target到底什么意思?
- linux make 基础: build host target 与交叉编译
- 交叉编译 configure 常见参数含义
- 交叉环境下,配置ffmpeg的configure时指定交叉编译参数
- 关于configure中build,target,host中的若干问题
- ./configure -build,-host,-target设置
- linux下编译php中configure参数具体含义