Clang 3.2 build broken after building gcc 4.7

旧时模样 提交于 2019-12-12 09:48:16

问题


So I know Clang depends (most of the time) on Gnu's libstdc++3, but after building gcc 4.7.0 (cuz' of awesome!) I seem to have run into a problem, all the paths for clang are wrong. Do I need to clean my build directory and start from scratch for clang, specifically it gives me the error bits/c++config.h missing, although it is there and builds just fine with gcc

I am on Linux x86, Ubuntu 12.04


回答1:


Yes, the paths for GCC's headers and libs include the version, 4.7.0 in your case, so you'll need to rebuild clang with --with-gcc-toolchain=... and reinstall it



来源:https://stackoverflow.com/questions/10809371/clang-3-2-build-broken-after-building-gcc-4-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!