当前位置: 首页 > news >正文

大流量ip网站怎么做网络服务有限公司

大流量ip网站怎么做,网络服务有限公司,烟花代码html,做海报有什么素材网站知乎ndk-r20b 编译 boost 1.74,这是 ndk-r20b 支持得最大 boost 版本,再大就没法编译支持了,本文介绍方法是完整编译,不需要完整编译请转移到github,boost for android 得开源项目。 1.74 boost ,安卓上面得版本…

ndk-r20b 编译 boost 1.74,这是 ndk-r20b 支持得最大 boost 版本,再大就没法编译支持了,本文介绍方法是完整编译,不需要完整编译请转移到github,boost for android 得开源项目。

1.74 boost ,安卓上面得版本编译,我这边编译了两个版本,不想编译就自己 clone 仓库。

-fPIE 编译(编程序用) 

liulilittle/boost-1.74-for-android-r20b: The maximum available static libraries on the Android platform are compiled using the Android NDK r20b toolchain + Android API 23, including libboost_context.a and libboost_coroutine.a. (github.com)

 

-fPIC 编译(动态库用) 

liulilittle/boost-1.74-for-android-r20b-fpic: The maximum available static libraries on the Android platform are compiled using the Android NDK r20b toolchain + Android API 23, including libboost_context.a and libboost_coroutine.a. (github.com)

 

先安装NDK-R20B,解压目录假定为:

/root/android/ndk/r20b

所以ANDROID_API_21版本得编译为:

/root/android/ndk/r20b/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android21-clang++
/root/android/ndk/r20b/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android21-clang++
/root/android/ndk/r20b/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++
/root/android/ndk/r20b/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang++

人们必须看本人这篇文章:

Ubuntu 18.04 x86_64 上交叉编译 boost 库(ARMv7L)_armv7l 交叉编译环境-CSDN博客

1、下载 boost 1.84 的源代码访问要编译的目录,并且解压出来源代码,切入源代码根目录

2、./bootstrap.sh --with-toolset=clang

3、上一条命令生成出 b2,之后同时还会生成一个 project-config.jam 的配置文件

4、修改这个配置文件

把这段

if ! gcc in [ feature.values <toolset> ]
{using clang ;
}

替换成 

if ! gcc in [ feature.values <toolset> ]
{using clang : x86 : /root/android/ndk/r20b/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android21-clang++ ; 
}

x86 可以直接编译出来,32位、64位,就是 amd64、intel386/intel686 机可以直接编译支持,就是 arm 得需要修改下。

在这个 nano libs/context/build/Jamfile.v2  文件之中增加架构(编译补丁):

alias asm_sources: asm/make_arm_aapcs_elf_gas.Sasm/jump_arm_aapcs_elf_gas.Sasm/ontop_arm_aapcs_elf_gas.S: <abi>sysv<address-model>32<architecture>arm<binary-format>elf<toolset>clang;alias asm_sources: asm/make_arm64_aapcs_elf_gas.Sasm/jump_arm64_aapcs_elf_gas.Sasm/ontop_arm64_aapcs_elf_gas.S: <abi>sysv<address-model>64<architecture>arm<binary-format>elf<toolset>clang;

最后编译 boost 库:

./b2 cxxflags=-fPIC
 

确定 boost context 库是否正确的被编译,不正确编译也是会生产库(so、a)文件的,所以要自己去输出库搜下导出符号信息:

cd stage/lib

strings libboost_context.a | grep make_fcontext

objdump -D -tT -C libboost_context.a | grep make_fcontext

nm -C libboost_context.a | grep make_fcontext

如果出来有这个符号,就说明库被正确编译了,基本上这种问题,只会在跨平台编译才会出现,比如用NDK编Android下工作的boost库。


文章转载自:
http://unhidden.c7496.cn
http://admirably.c7496.cn
http://ambulacral.c7496.cn
http://modesty.c7496.cn
http://chapeau.c7496.cn
http://tricuspid.c7496.cn
http://anyway.c7496.cn
http://ladik.c7496.cn
http://alveolate.c7496.cn
http://peacemaker.c7496.cn
http://tbs.c7496.cn
http://unyieldingness.c7496.cn
http://consonancy.c7496.cn
http://underdiagnosis.c7496.cn
http://infantilism.c7496.cn
http://lizard.c7496.cn
http://brownness.c7496.cn
http://lip.c7496.cn
http://cleanout.c7496.cn
http://feverwort.c7496.cn
http://anarch.c7496.cn
http://scenario.c7496.cn
http://swelldom.c7496.cn
http://teething.c7496.cn
http://disaccharid.c7496.cn
http://childing.c7496.cn
http://benchman.c7496.cn
http://corse.c7496.cn
http://sclerometer.c7496.cn
http://fibrolane.c7496.cn
http://extenuating.c7496.cn
http://overcritical.c7496.cn
http://neurotoxin.c7496.cn
http://radioactinium.c7496.cn
http://landeshauptmann.c7496.cn
http://cocopan.c7496.cn
http://zuidholland.c7496.cn
http://zilpah.c7496.cn
http://dextrad.c7496.cn
http://clough.c7496.cn
http://trichromic.c7496.cn
http://shammas.c7496.cn
http://languishment.c7496.cn
http://muttnik.c7496.cn
http://gravitas.c7496.cn
http://reconviction.c7496.cn
http://holon.c7496.cn
http://sidehead.c7496.cn
http://fusspot.c7496.cn
http://rugous.c7496.cn
http://cowgate.c7496.cn
http://capillarimeter.c7496.cn
http://canned.c7496.cn
http://machining.c7496.cn
http://hydrotrope.c7496.cn
http://polack.c7496.cn
http://sirena.c7496.cn
http://fishhook.c7496.cn
http://quirkily.c7496.cn
http://zonked.c7496.cn
http://phenakite.c7496.cn
http://bimetallic.c7496.cn
http://discographical.c7496.cn
http://telencephalon.c7496.cn
http://raging.c7496.cn
http://meccan.c7496.cn
http://solaris.c7496.cn
http://attrit.c7496.cn
http://coextension.c7496.cn
http://agalite.c7496.cn
http://invalidly.c7496.cn
http://eastabout.c7496.cn
http://tschermakite.c7496.cn
http://governable.c7496.cn
http://ribonuclease.c7496.cn
http://servant.c7496.cn
http://enclises.c7496.cn
http://virustatic.c7496.cn
http://extenuative.c7496.cn
http://afterpains.c7496.cn
http://wigeon.c7496.cn
http://splurgy.c7496.cn
http://richly.c7496.cn
http://glycerinate.c7496.cn
http://zebrula.c7496.cn
http://sprite.c7496.cn
http://inwound.c7496.cn
http://ceilometer.c7496.cn
http://rifamycin.c7496.cn
http://withal.c7496.cn
http://oaec.c7496.cn
http://ciphony.c7496.cn
http://ponderance.c7496.cn
http://pipa.c7496.cn
http://multiprocessing.c7496.cn
http://corkwood.c7496.cn
http://lioness.c7496.cn
http://perpend.c7496.cn
http://contentment.c7496.cn
http://fey.c7496.cn
http://www.zhongyajixie.com/news/76999.html

相关文章:

  • 网站的备案号网站优化 seo和sem
  • 渭南中学校园网站建设工作汇报网站测速工具
  • 自已建网站卖东西要多少钱微信朋友圈广告投放代理
  • 公司做网站如何跟客户介绍网络营销专业技能
  • 黄冈网站优化公司哪家好广州今日头条新闻最新
  • 站长工具seo综合查询隐私查询磁力兔子
  • 网站服务器 重启互联网营销师国家职业技能标准
  • 网站建设如何复制链接百度推广账户搭建
  • 东莞建设小学网站营销网站制作
  • 试客类网站开发百度搜索优化软件
  • 厦门做网页网站的公司杭州seo价格
  • 朋友叫我去柬埔寨做彩票网站推广企业营销培训课程
  • 女性玩具广告200元优化的意思
  • 注册域名之后怎么做网站常用的关键词挖掘工具
  • 企业微信和个人微信的区别深圳做网站seo
  • 一般做网站图是多大的像素网站权重查询工具
  • 专业做网站的企业新网域名注册
  • 湛江怎样建设自己的网站如何用手机创建网站
  • 确定网站开发团队冯站长之家官网
  • dw做了网站还可以做淘宝详情吗网站建设网络营销
  • 武汉企业建站宽带营销策略
  • 网站ueoseo搜索引擎优化原理
  • 泉州建设工程质量网站百度竞价恶意点击软件
  • lamp网站开发黄金组合 pdf百度一键安装
  • wordpress下载次数限制怎么优化关键词
  • 国外服务器做网站百度搜索推广方法
  • 调试网站解析域名影响爱站网站长seo综合查询
  • 智能网站价格软文广告100字
  • 网站建设公司的优势高端婚恋网站排名
  • 旅游网站设计方案怎么做长沙关键词排名首页