{"id":2091,"date":"2008-05-01T14:22:19","date_gmt":"2008-05-01T05:22:19","guid":{"rendered":"http:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/05\/01\/boost\/"},"modified":"2008-05-01T14:22:19","modified_gmt":"2008-05-01T05:22:19","slug":"boost","status":"publish","type":"post","link":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/05\/01\/2091\/","title":{"rendered":"Boost \u305d\u306e\u5f8c"},"content":{"rendered":"<p>Crosscompiling Boost C++ library with MinGW libraries (on MacOS X): updated.<br \/>\nI have:<br \/>\n&#8211; MinGW toolkit (gcc and binutils) and libraries in \/Users\/yasu\/mingw\/<br \/>\n&#8211; GTK and related libraries including ZLIB and BZ2LIB in \/Users\/yasu\/mingw\/GTK\/<br \/>\n&#8211; bjam for MacOS X, installed by MacPorts<br \/>\nI need:<br \/>\n&#8211; boost-regex<br \/>\n&#8211; boost-iostreams<br \/>\n&#8211; boost-filesystem<br \/>\nAnd here&#8217;s how I got them:<br \/>\n% cd boost_1_35_0<br \/>\n% vi tools\/build\/v2<br \/>\nusing gcc : 4.2 : i386-pc-mingw32-g++-4.2.1 : &lt;compileflags&gt;-I\/Users\/yasu\/mingw\/GTK\/include &lt;linkflags&gt;-L\/Users\/yasu\/mingw\/GTK\/lib ;<br \/>\n% bjam -sTOOLS=gcc -sGXX=g++ &#8211;with-regex &#8211;with-filesystem &#8211;with-iostreams install &#8211;prefix=\/Users\/yasu\/mingw &#8211;build-type=complete<br \/>\nMmm, bjam syntax is something cool, but difficult for me&#8230;<br \/>\nAnd just one more thing, we need to run runlib prior to use the libraries. For example:<br \/>\n% i386-pc-mingw32-ranlib libboost_regex-mgw42.a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Crosscompiling Boost C++ library with MinGW libraries (on MacOS X): updated. I have: &#8211; MinGW toolkit (gc &hellip; <a href=\"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/05\/01\/2091\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Boost \u305d\u306e\u5f8c&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[6],"tags":[31,32],"class_list":["post-2091","post","type-post","status-publish","format-standard","hentry","category-unix-","tag-c","tag-cygwinmingw"],"_links":{"self":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=2091"}],"version-history":[{"count":0,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2091\/revisions"}],"wp:attachment":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}