{"id":10501,"date":"2015-12-14T23:40:29","date_gmt":"2015-12-14T14:40:29","guid":{"rendered":"http:\/\/kako.com\/blog\/?p=10501"},"modified":"2015-12-14T23:45:20","modified_gmt":"2015-12-14T14:45:20","slug":"llvm%e3%81%ae%e4%b8%ad%e9%96%93%e3%82%b3%e3%83%bc%e3%83%89%e3%82%a2%e3%82%bb%e3%83%b3%e3%83%96%e3%83%a9%e3%82%92%e8%a9%a6%e3%81%99-ubuntu%e7%b7%a8-windows%e7%b7%a8","status":"publish","type":"post","link":"http:\/\/kako.com\/blog\/?p=10501","title":{"rendered":"LLVM\u306e\u4e2d\u9593\u30b3\u30fc\u30c9\u30a2\u30bb\u30f3\u30d6\u30e9\u3092\u8a66\u3059 (Ubuntu\u7de8 &#038; Windows\u7de8)"},"content":{"rendered":"<p>\u6700\u8fd1\u3001<a href=\"http:\/\/kako.com\/blog\/?p=10146\">LLVM-IR(LLVM\u4e2d\u9593\u30b3\u30fc\u30c9)\u3092\u751f\u6210\u3059\u308b\u30b3\u30f3\u30d1\u30a4\u30e9<\/a>\u3092\u8da3\u5473\u3067\u4f5c\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u308c\u306b\u306fLLVM\u306e\u4e2d\u9593\u30b3\u30fc\u30c9\u30a2\u30bb\u30f3\u30d6\u30e9\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002<br \/>\n\u4ee5\u524d\u306b\u3001Ubuntu\u4e0a\u3067LLVM\u306e\u30bd\u30fc\u30b9\u4e00\u5f0f\u3092\u81ea\u524d\u3067\u30d3\u30eb\u30c9\u3057\u305f\u308a\u3001<a href=\"http:\/\/kako.com\/blog\/?p=30\">Mac OS X\u4e0a\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067LLVM\u4e00\u5f0f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a>\u306e\u3092\u8a66\u3057\u305f\u308a\u3057\u3066\u3044\u305f\u3002<br \/>\nUbuntu\u30de\u30b7\u30f3\u3092\u521d\u671f\u5316\u3057\u3066\u4e2d\u8eab\u3092\u6d88\u3057\u3066\u3057\u307e\u3063\u305f\u308a\u3001Mac\u306b\u3064\u3044\u3066\u306fMac\u3092\u4f7f\u3044\u6163\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u9577\u3044\u3053\u3068\u30b3\u30f3\u30d1\u30a4\u30e9\u4f5c\u308a\u304c\u6357\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u3002<br \/>\n\u3084\u306f\u308a\u4f7f\u3044\u6163\u308c\u3066\u3044\u308bWindowsPC\u4e0a\u3067\u4f5c\u696d\u3057\u305f\u3044\u3068\u601d\u3044\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092\u63a2\u3057\u3066\u307f\u305f\u3002<br \/>\n(Windows PC\u4e0a\u3067\u4f5c\u696d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304b\u3089\u306f\u3001\u4f5c\u696d\u304c\u6357\u3063\u305f\u306e\u30671\u9031\u9593\u3061\u3087\u3063\u3068\u3067\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u3067\u304d\u305f\u3002\u3082\u3063\u3068\u65e9\u304f\u3084\u3063\u3066\u304a\u3051\u3070\u3088\u304b\u3063\u305f\u3002)<br \/>\n<!--more--><\/p>\n<p>\u6700\u521d\u306f\u3001WindowsPC\u4e0a\u3067VMware\u3092\u4f7f\u3063\u305f\u4eee\u60f3\u74b0\u5883\u3067Ubuntu\u3092\u52d5\u304b\u3057\u3066\u3001Ubuntu\u4e0a\u3067apt-get\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067LLVM\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306f\u5358\u7d14\u3067\u3001LLVM\u306e\u30d0\u30fc\u30b8\u30e7\u30f33.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u30b3\u30de\u30f3\u30c9\u5165\u529b\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nsudo apt-get install clang-3.4 clang-3.4-doc libclang-common-3.4-dev libclang-3.4-dev libclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4 libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc llvm-3.4-examples llvm-3.4-runtime clang-modernize-3.4 clang-format-3.4 python-clang-3.4 lldb-3.4-dev\r\n<\/pre>\n<p>\u305f\u3060\u3057\u3001clang\u3068\u304b\u306e\u30b3\u30de\u30f3\u30c9\u306f\u901a\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3060\u3051\u3069\u3001LLVM\u4e2d\u9593\u30b3\u30fc\u30c9\u30a2\u30bb\u30f3\u30d6\u30e9\u306ellvm-as\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u306a\u3044\u3002<br \/>\n\u8abf\u3079\u3066\u307f\u308b\u3068\u3001llvm-as-3.4\u3068\u3044\u3046\u540d\u524d\u3067\/usr\/bin\/\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u624b\u52d5\u3067\u4f5c\u308c\u3070llvm-as\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3060\u3002<br \/>\n\u4ed6\u306b\u3082llvm-objdump\u3001llvm-link\u3001lli\u3001llc\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3082\u540c\u69d8\u306a\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f5c\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/p>\n<p>&#8212;<br \/>\nWindows\u4e0a\u3067\u3001Windows\u7248\u306eLLVM\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3044\u3046\u306e\u3082\u8a66\u3057\u3066\u307f\u305f\u3002<br \/>\nLLVM\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u30d0\u30a4\u30ca\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br \/>\n\u2192 <a href=\"http:\/\/llvm.org\/releases\/download.html\">LLVM Download Page<\/a><br \/>\nLLVM\u30d0\u30fc\u30b8\u30e7\u30f33.4\u306e\u5834\u5408\u3001LLVM-3.4-win32.exe\u3068\u3044\u3046\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3059\u308c\u3070\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3053\u308c\u306b\u306f\u554f\u984c\u304c\u3042\u308a\u3001clang\u3092\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u308b\u306e\u3060\u3051\u3069\u3001llvm-as\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u306a\u3044\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30eb\u30c0\u3092\u8abf\u3079\u3066\u3082.exe\u304c\u5b58\u5728\u3057\u306a\u3044\u306e\u3060\u3002<br \/>\n\u6700\u8fd1\u3001\u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f33.7\u306b\u3064\u3044\u3066\u3082\u518d\u5ea6\u8abf\u3079\u3066\u307f\u305f\u304c\u3001\u3084\u306f\u308a\u99c4\u76ee\u306a\u3088\u3046\u3060\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u3092\u691c\u7d22\u3059\u308b\u3068\u3001\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eminGW\u7248\u3068\u3044\u3046\u3082\u306e\u306a\u3089\u3070llvm-as\u3092\u542b\u3093\u3067\u304a\u308a\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br \/>\n\u300cExperimental Clang Binaries for Mingw32\/x86 clang+llvm-3.2-x86-mingw32-EXPERIMENTAL.tar.gz\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u8a66\u3057\u3066\u307f\u305f\u3002<br \/>\nMingw\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001Mingw\u306egcc\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53e4\u3044\u7269\u306b\u5165\u308c\u66ff\u3048\u308b\u306a\u3069\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3084\u3063\u3068\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3002<br \/>\n\u3053\u306e\u3042\u305f\u308a\u304c\u53c2\u8003\u306b\u306a\u3063\u305f\u3002(\u7279\u306b\u3001\u5f8c\u8005\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f\u81ea\u529b\u3067\u306f\u5206\u304b\u3089\u305a\u56f0\u3063\u3066\u3044\u305f\u3002)<br \/>\n\u2192 <a href=\"http:\/\/denspe.blog84.fc2.com\/blog-entry-174.html\">LLVM \u3092 Windows \u3067\u4f7f\u3046(clang \u7de8)<\/a><br \/>\n\u2192 <a href=\"http:\/\/thieves-of-beagles.blogspot.jp\/2013\/05\/clang.html\">Thieves of BeagleBoard \u30d3\u30eb\u30c9\u74b0\u5883\u79fb\u884c &#8211; clang\u6e96\u5099<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u3001LLVM-IR(LLVM\u4e2d\u9593\u30b3\u30fc\u30c9)\u3092\u751f\u6210\u3059\u308b\u30b3\u30f3\u30d1\u30a4\u30e9\u3092\u8da3\u5473\u3067\u4f5c\u3063\u3066\u3044\u308b\u3002 \u3053\u308c\u306b\u306fLLVM\u306e\u4e2d\u9593\u30b3\u30fc\u30c9\u30a2\u30bb\u30f3\u30d6\u30e9\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002 \u4ee5\u524d\u306b\u3001Ubuntu\u4e0a\u3067LLVM\u306e\u30bd\u30fc\u30b9\u4e00\u5f0f\u3092\u81ea\u524d [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,14],"tags":[],"_links":{"self":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10501"}],"collection":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10501"}],"version-history":[{"count":5,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10501\/revisions"}],"predecessor-version":[{"id":10507,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/10501\/revisions\/10507"}],"wp:attachment":[{"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10501"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kako.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}