{"id":3012,"date":"2013-09-08T03:45:51","date_gmt":"2013-09-07T18:45:51","guid":{"rendered":"http:\/\/peta.okechan.net\/blog\/?p=3012"},"modified":"2013-09-08T03:45:51","modified_gmt":"2013-09-07T18:45:51","slug":"6-6-%e5%85%a8%e3%82%b3%e3%83%bc%e3%83%89","status":"publish","type":"post","link":"https:\/\/peta.okechan.net\/blog\/archives\/3012","title":{"rendered":"6.6. \u5168\u30b3\u30fc\u30c9"},"content":{"rendered":"<p><a href=\"https:\/\/peta.okechan.net\/blog\/archives\/2836\" title=\"LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\">LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u65e5\u672c\u8a9e\u8a33<\/a><br \/>\n\u7b2c6\u7ae0 \u4e07\u83ef\u93e1: \u8a00\u8a9e\u306e\u62e1\u5f35: \u30e6\u30fc\u30b6\u5b9a\u7fa9\u6f14\u7b97\u5b50<br \/>\n<a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl06.html#full-code-listing\" target=\"_blank\">\u7b2c6\u7bc0 \u5168\u30b3\u30fc\u30c9<\/a><\/p>\n<p>\u3053\u308c\u304c\u3001\u6211\u3005\u304c\u4f8b\u3067\u7528\u3044\u305f\u3001\u30e6\u30fc\u30b6\u5b9a\u7fa9\u6f14\u7b97\u5b50\u306e\u30b5\u30dd\u30fc\u30c8\u306b\u3088\u3063\u3066\u78e8\u304d\u3092\u639b\u3051\u305f\u30b3\u30fc\u30c9\u306e\u5b8c\u5168\u306a\u30ea\u30b9\u30c8\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># \u30b3\u30f3\u30d1\u30a4\u30eb\r\nclang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy\r\n# \u5b9f\u884c\r\n.\/toy<\/pre>\n<p>\u3044\u304f\u3064\u304b\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u306f\u3001-rdynamic\u3082\u3057\u304f\u306f -Wl,\u2013export-dynamic\u3092\u30ea\u30f3\u30af\u6642\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br \/>\n\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u30e1\u30a4\u30f3\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u30b7\u30f3\u30dc\u30eb\u304c\u3001\u78ba\u5b9f\u306b\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30ea\u30f3\u30ab\u306b\u9001\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u5b9f\u884c\u6642\u306e\u30b7\u30f3\u30dc\u30eb\u306e\u89e3\u6c7a\u304c\u53ef\u80fd\u3068\u306a\u308b\u3002<br \/>\n\u3053\u308c\u306f\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3088\u3046\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u306f\u5fc5\u8981\u3067\u306f\u306a\u3044\u304c\u3001Windows\u3067\u306f\u3082\u3057\u305d\u3046\u3060\u3063\u305f\u3068\u3057\u3066\u3082\u3053\u306e\u554f\u984c\u304c\u5f15\u304d\u8d77\u3053\u3055\u308c\u308b\u3060\u308d\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u30b3\u30fc\u30c9\u3002<br \/>\n<em>\u8a33\u6ce8: <a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl06.html#full-code-listing\" target=\"_blank\">\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u539f\u6587\u3092\u53c2\u7167\u3055\u308c\u305f\u3057\u3002<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/peta.okechan.net\/blog\/archives\/2836\" title=\"LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\">LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u65e5\u672c\u8a9e\u8a33<\/a><br \/>\n\u7b2c6\u7ae0 \u4e07\u83ef\u93e1: \u8a00\u8a9e\u306e\u62e1\u5f35: \u30e6\u30fc\u30b6\u5b9a\u7fa9\u6f14\u7b97\u5b50<br \/>\n<a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl06.html#full-code-listing\" target=\"_blank\">\u7b2c6\u7bc0 \u5168\u30b3\u30fc\u30c9<\/a><\/p>\n<p>\u3053\u308c\u304c\u3001\u6211\u3005\u304c\u4f8b\u3067\u7528\u3044\u305f\u3001\u30e6\u30fc\u30b6\u5b9a\u7fa9\u6f14\u7b97\u5b50\u306e\u30b5\u30dd\u30fc\u30c8\u306b\u3088\u3063\u3066\u78e8\u304d\u3092\u639b\u3051\u305f\u30b3\u30fc\u30c9\u306e\u5b8c\u5168\u306a\u30ea\u30b9\u30c8\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># \u30b3\u30f3\u30d1\u30a4\u30eb\r\nclang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy\r\n# \u5b9f\u884c\r\n.\/toy<\/pre>\n<p>\u3044\u304f\u3064\u304b\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u306f\u3001-rdynamic\u3082\u3057\u304f\u306f -Wl,\u2013export-dynamic\u3092\u30ea\u30f3\u30af\u6642\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br \/>\n\u3053\u308c\u306b\u3088\u3063\u3066\u3001\u30e1\u30a4\u30f3\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u30b7\u30f3\u30dc\u30eb\u304c\u3001\u78ba\u5b9f\u306b\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30ea\u30f3\u30ab\u306b\u9001\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u5b9f\u884c\u6642\u306e\u30b7\u30f3\u30dc\u30eb\u306e\u89e3\u6c7a\u304c\u53ef\u80fd\u3068\u306a\u308b\u3002<br \/>\n\u3053\u308c\u306f\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3088\u3046\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u306f\u5fc5\u8981\u3067\u306f\u306a\u3044\u304c\u3001Windows\u3067\u306f\u3082\u3057\u305d\u3046\u3060\u3063\u305f\u3068\u3057\u3066\u3082\u3053\u306e\u554f\u984c\u304c\u5f15\u304d\u8d77\u3053\u3055\u308c\u308b\u3060\u308d\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u30b3\u30fc\u30c9\u3002<br \/>\n<em>\u8a33\u6ce8: <a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl06.html#full-code-listing\" target=\"_blank\">\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u539f\u6587\u3092\u53c2\u7167\u3055\u308c\u305f\u3057\u3002<\/a><\/em><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[466,467],"class_list":["post-3012","post","type-post","status-publish","format-standard","hentry","category-tech","tag-kaleidoscope","tag-llvm"],"_links":{"self":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/3012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/comments?post=3012"}],"version-history":[{"count":0,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/3012\/revisions"}],"wp:attachment":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/media?parent=3012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/categories?post=3012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/tags?post=3012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}