Skip to content

Instantly share code, notes, and snippets.

@yutopp
Last active August 29, 2015 13:55
Show Gist options
  • Save yutopp/8767425 to your computer and use it in GitHub Desktop.
Save yutopp/8767425 to your computer and use it in GitHub Desktop.
svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
mkdir build_libcxx && cd build_libcxx
echo | g++ -Wp,-v -x c++ - -fsyntax-only
CC=/usr/local/torigoya/clang-999.2014.2.2.200625.200625/bin/clang CXX=/usr/local/torigoya/clang-999.2014.2.2.200625.200625/bin/clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libsupc++ -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="/usr/include/c++/4.8;/usr/include/x86_64-linux-gnu/c++/4.8" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/torigoya/libc++ ~/aaaaaaaaa/libcxx
fpm -s dir -t deb -n "libc++" -v 1 /usr/local/torigoya/libc++
https://github.com/jordansissel/fpm/wiki
http://solarianprogrammer.com/2013/01/17/building-clang-libcpp-ubuntu-linux/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment