{"id":326,"date":"2012-01-22T22:17:53","date_gmt":"2012-01-23T06:17:53","guid":{"rendered":"http:\/\/h2plus.biz\/hiromitsu\/?p=326"},"modified":"2018-08-06T14:47:25","modified_gmt":"2018-08-06T21:47:25","slug":"64%e3%83%93%e3%83%83%e3%83%88%e7%92%b0%e5%a2%83%e3%81%a732%e3%83%93%e3%83%83%e3%83%88%e7%94%a8%e3%81%aeboost%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/h2plus.biz\/hiromitsu\/entry\/326","title":{"rendered":"64\u30d3\u30c3\u30c8\u74b0\u5883\u306732\u30d3\u30c3\u30c8\u7248boost\u30d0\u30a4\u30ca\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>64\u30d3\u30c3\u30c8\u7248Fedora14\u306bboost-1.48.0\u306e32\u30d3\u30c3\u30c8\u7248\u30d0\u30a4\u30ca\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u7d50\u69cb\u624b\u3053\u305a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u30e1\u30e2\u3002RPM\u304c\u3042\u308c\u3070<code>yum<\/code>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3057\u307e\u3044\u305f\u3044\u304c\u3001\u3042\u3044\u306b\u304fFedora14\u306eRPM\u30ea\u30dd\u30b8\u30c8\u30ea\u306fboost-1.44.0\u4ee5\u964d\u3001\u66f4\u65b0\u3055\u308c\u308b\u6c17\u914d\u304c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\uff08\u672c\u30a8\u30f3\u30c8\u30ea\u57f7\u7b46\u6642\u70b9\u3067Fedora16\u306fboost-1.47.0\u307e\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u305f\uff09\u3001\u81ea\u524d\u3067\u30d3\u30eb\u30c9\u305b\u3056\u308b\u3092\u5f97\u306a\u304f\u306a\u3063\u305f\u3002\u958b\u767a\u30de\u30b7\u30f3\u304c32\u30d3\u30c3\u30c8\u74b0\u5883\u304b\u308964\u30d3\u30c3\u30c8\u74b0\u5883\u306b\u5909\u308f\u3063\u3066\u3082\u300132\u30d3\u30c3\u30c8\u7248\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3053\u3068\u306f\u307e\u3060\u3042\u308b\u306e\u3067\u300164\u30d3\u30c3\u30c8\u74b0\u5883\u3067\u308232\u30d3\u30c3\u30c8\u7248\u3092\u4e00\u7dd2\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u305f\u65b9\u304c\u305a\u3063\u3068\u697d\u3060\u3002<\/p>\n<p>\u307e\u305a64\u30d3\u30c3\u30c8\u7248\u306eboost\u3092\u30d3\u30eb\u30c9\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/www.boost.org\/doc\/libs\/1_48_0\/more\/getting_started\/unix-variants.html\" target=\"_blank\">Boost Getting Started on Unix Variants<\/a>\u306e\u624b\u9806\u306b\u5f93\u3048\u3070\u306a\u3093\u306a\u304f\u30d3\u30eb\u30c9\u3067\u304d\u308b\u306e\u3060\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u8003\u616e\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u304b\u3089\u5909\u66f4\u3057\u3066\u30d3\u30eb\u30c9\u3059\u308b\u3002<\/p>\n<p><!--more--><\/p>\n<pre>\n$ tar zxf boost_1_48_0.tar.gz\n$ cd boost_1_48_0\n$ .\/bootstrap.sh --libdir=\/usr\/local\/lib64\/boost_1_48_0 \\\n  --includedir=\/usr\/local\/include\/boost_1_48_0\n$ .\/b2\n$ sudo .\/b2 install\n<\/pre>\n<p>boost\u3092\u4f7f\u3063\u305fC++\u30bd\u30fc\u30b9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u306f\u3001<code>-I<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3001<code>-L<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30c1\u30d1\u30b9\u3092\u8ffd\u52a0\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<pre>\n$ g++ -I\/usr\/local\/include\/boost_1_48_0 \\\n  -L\/usr\/local\/lib64\/boost_1_48_0 -o test main.cpp\n<\/pre>\n<p>\u3067\u306f\u300164\u30d3\u30c3\u30c8\u74b0\u5883\u306732\u30d3\u30c3\u30c8\u7248\u306eboost\u3092\u30d3\u30eb\u30c9\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u304b\uff1f<a href=\"https:\/\/boostorg.github.io\/build\/manual\/develop\/index.html#bbv2.overview.invocation.properties\" target=\"_blank\" class=\"broken_link\">Boost.Build\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u898b\u308b\u3068\u3001<code>bjam<\/code>\u306e\u5f15\u6570\u3067<code>address-model<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3067\u304d\u308b\u3088\u3046\u306a\u306e\u3067\u300132\u30d3\u30c3\u30c8\u7248\u3068\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3088\u3046\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<pre>\n$ .\/bootstrap.sh --libdir=\/usr\/local\/lib\/boost_1_48_0 \\\n  --includedir=\/usr\/local\/include\/boost_1_48_0.i686\n$ .\/bjam address-model=32\n$ sudo .\/bjam address-model=32 install\n$ sudo rm -rf \/usr\/local\/include\/boost_1_48_0.i686\n<\/pre>\n<p>\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f64\u30d3\u30c3\u30c8\u7248\uff08<code>\/usr\/local\/lib64<\/code>\uff09\u3068\u533a\u5225\u3059\u308b\u3088\u3046\u306b\u3001<code>\/usr\/local\/lib<\/code>\u914d\u4e0b\u306b32\u30d3\u30c3\u30c8\u7248\u3092\u914d\u7f6e\u3059\u308b\u3002<\/p>\n<p>\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u306f<code>\/usr\/local\/include\/boost_1_48_0.i686<\/code>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u304c\u300132\u30d3\u30c3\u30c8\u7248\u308264\u30d3\u30c3\u30c8\u7248\u3082\u540c\u3058\u306a\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u524a\u9664\u3002<\/p>\n<p>32\u30d3\u30c3\u30c8\u7248\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u3082\u540c\u3058\u3088\u3046\u306b\u30b5\u30fc\u30c1\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u3084\u308c\u3070\u3088\u3044\u3068\u3002<\/p>\n<pre>\n$ g++ -m32 -I\/usr\/local\/include\/boost_1_48_0 \\\n  -L\/usr\/local\/lib\/boost_1_48_0 -o test main.cpp\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>64\u30d3\u30c3\u30c8\u7248Fedora14\u306bboost-1.48.0\u306e32\u30d3\u30c3\u30c8\u7248\u30d0\u30a4\u30ca\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u7d50\u69cb\u624b\u3053\u305a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u30e1\u30e2\u3002RPM\u304c\u3042\u308c\u3070yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3057\u307e\u3044\u305f\u3044\u304c\u3001\u3042\u3044\u306b\u304fFedo <a href='https:\/\/h2plus.biz\/hiromitsu\/entry\/326' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[152,84],"tags":[158,156,155,153,154,134,157],"_links":{"self":[{"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/posts\/326"}],"collection":[{"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/comments?post=326"}],"version-history":[{"count":4,"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/posts\/326\/revisions"}],"predecessor-version":[{"id":1012,"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/posts\/326\/revisions\/1012"}],"wp:attachment":[{"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/categories?post=326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/h2plus.biz\/hiromitsu\/wp-json\/wp\/v2\/tags?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}