当前位置: 技术问答>linux和unix
求教:关于configure
来源: 互联网 发布时间:2016-06-21
本文导语: 运行下面配置命令: ./configure --enable-elf-shlibs --host=arm-linux --with-cc=/usr/local/arm/2.95.3/bin/arm-linux-gcc --with-linker=/usr/local/arm/2.95.3/bin/arm-linux-ld --prefix=/usr/local/arm/2.95.3/arm-linux 哪位可以告知: --enable-elf-shlibs --host=arm-li...
运行下面配置命令:
./configure --enable-elf-shlibs --host=arm-linux --with-cc=/usr/local/arm/2.95.3/bin/arm-linux-gcc --with-linker=/usr/local/arm/2.95.3/bin/arm-linux-ld --prefix=/usr/local/arm/2.95.3/arm-linux
哪位可以告知:
--enable-elf-shlibs
--host=arm-linux
--prefix=/usr/local/arm/2.95.3/arm-linux
这三项分别是设置什么,多谢!
./configure --enable-elf-shlibs --host=arm-linux --with-cc=/usr/local/arm/2.95.3/bin/arm-linux-gcc --with-linker=/usr/local/arm/2.95.3/bin/arm-linux-ld --prefix=/usr/local/arm/2.95.3/arm-linux
哪位可以告知:
--enable-elf-shlibs
--host=arm-linux
--prefix=/usr/local/arm/2.95.3/arm-linux
这三项分别是设置什么,多谢!
|
--enable-elf-shlibs: elf格式的库
--host=arm-linux: 交叉编译成arm平台
--prefix=/usr/local/arm/2.95.3/arm-linux: 安装路径
--host=arm-linux: 交叉编译成arm平台
--prefix=/usr/local/arm/2.95.3/arm-linux: 安装路径
|
就是make install时,把你编译好的文家安装到--prefix中~~~~~~~