boost 编译 32 bit & 64 bit
2013-10-11 20:35
363 查看
原文地址: http://blog.sina.com.cn/s/blog_4b055d6b01016nlp.html
编译32位:
1.修改 bootstrap.sh
指定如下参数
TOOLSET="g++"
PREFIX=/home/koower/boost_1_49
LIBDIR=/home/koower/boost_1_49/lib
2.执行 ./bootstrap.sh
3.编译和安装
./bjam cflags=-m32 cxxflags=-m32 address-model=32 threading=multi architecture=x86 instruction-set=i686 stage install
64位与32位方法相同,不过没有执行过
编译32位:
1.修改 bootstrap.sh
指定如下参数
TOOLSET="g++"
PREFIX=/home/koower/boost_1_49
LIBDIR=/home/koower/boost_1_49/lib
2.执行 ./bootstrap.sh
3.编译和安装
./bjam cflags=-m32 cxxflags=-m32 address-model=32 threading=multi architecture=x86 instruction-set=i686 stage install
64位与32位方法相同,不过没有执行过
相关文章推荐
- 解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题
- java.lang.UnsatisfiedLinkError: tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32
- JNI之——Can't load IA 32-bit .dll on a AMD 64-bit platform错误的解决
- Can't load AMD 64-bit .dll on a IA 32-bit platform
- warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits
- 加载动态链接库时提示Can't load IA 32-bit .dll on a AMD 64...
- Android6.0 高通平台 "is 32-bit instead of 64-bit" 问题
- 编译错误“The run destination My Mac 64-bit is not valid for Running the scheme '***',解决办法
- 解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题
- R_X86_64_32 & could not read symbols: Bad value编译
- 解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题
- Tomcat7: Can't load IA 32-bit .dll on a AMD 64-bit platform解决
- Tomcat Can't load AMD 64-bit .dll on a IA 32
- 编译so文件报错"32-bit instead of 64-bit"
- 解决MyEclipse中tomcat出现的小问题:JDK Name, 以及Can't load AMD 64-bit .dll on a IA 32-bit platform
- error:Can't load AMD 64-bit .dll on a IA 32-bit platform
- Can't load AMD 64-bit .dll on a IA 32-bit platform
- 编译动态库时遇到relocation R_X86_64_32 against `a local symbol'的错误
- Tomcat Can't load AMD 64-bit .dll on a IA 32
- Myeclipse启动tomcat出现Can't load AMD 64-bit .dll on a IA 32-bit platform