惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
IT之家
IT之家
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 【当耐特】
V
V2EX
Last Week in AI
Last Week in AI
H
Help Net Security
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
F
Fortinet All Blogs
I
InfoQ
宝玉的分享
宝玉的分享
A
About on SuperTechFans
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale
B
Blog

博客园 - Len3d

Audacity录音+混响初步经验 专辑歌曲列表 奇迹 找到你 下弦月 研报和信息查询网站 研报查询链接 初步测试了一下C++11的async/future 徒手画个disk不容易啊。。。 fast powf SSE sqrt还是比C math库的sqrtf快了不少 Mongoose也是个大坑 A tiny program to benchmark image transpose algorithms On extracting ops from LLVM backend Into concurrent LRU caching once again 性能大坑 多项式在线拟合神器 iOS app开发资料整理 完美的视图旋转算法 nodejs Rpath handling on Linux C++ Web Service SDK Fast integer math tricks for C Point in polygon algorithm C code
Windows上使用clang编译
Len3d · 2016-05-15 · via 博客园 - Len3d

- 先自己从源代码 (http://llvm.org/releases/) 编译llvm和clang,或者直接安装clang for Windows

- 测试过使用cygwin (https://cygwin.com/install.html) 中安装的libc++,以及cygwin带的mingw编译,失败

- 测试过安装mingw (http://mingw.org/) 到默认位置,并安装gcc-g++,编译成功

- 测试OSL渲染,bitcode加载成功,但是执行失败,llvm找不到函数。

- 从控制台可以看到该函数为_cxa_allocate_exception,通过dependency walker (http://dependencywalker.com/) 找到该函数在mingw的libstdc++.dll中

- 当只有DLL没有lib时,微软提供了工具从DLL生成lib (http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs)