{"id":1934,"date":"2008-01-12T10:25:51","date_gmt":"2008-01-12T01:25:51","guid":{"rendered":"http:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/01\/12\/cygwin_mingw\/"},"modified":"2008-01-12T10:25:51","modified_gmt":"2008-01-12T01:25:51","slug":"cygwin_mingw","status":"publish","type":"post","link":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/01\/12\/1934\/","title":{"rendered":"Cygwin \u3067 MinGW \u306e\u30af\u30ed\u30b9\u30d3\u30eb\u30c9\u74b0\u5883"},"content":{"rendered":"<p>Mac \u306b\u306f MinGW \u306e\u74b0\u5883\u3092\u5165\u308c\u3066\u3044\u3066\u3001\u3059\u3054\u304f\u4fbf\u5229\u306a\u3093\u3060\u304c\u3001Cygwin \u306b\u3082\u5165\u308c\u308b\u3053\u3068\u306b\u3057\u305f\u3002Cygwin \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3082\u306a\u3093\u3068\u304b\u306a\u308a\u305d\u3046\u306a\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3071\u308a\u81ea\u5206\u3067\u4f5c\u3063\u305f\u307b\u3046\u304c\u5b89\u5fc3\u306a\u306e\u3067\u3001\u81ea\u5206\u3067 ~\/mingw \u306b\u4f5c\u308b\u3053\u3068\u306b\u3002<br \/>\n[ \u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b ]<br \/>\n$ mkdir ~\/mingw<br \/>\n$ cd ~\/mingw<br \/>\n$ tar xzvf ~\/compile\/mingw-runtime-3.14.tar.gz<br \/>\n$ tar xzvf ~\/compile\/w32api-3.11.tar.gz<br \/>\n[ binutils \u4f5c\u308b ]<br \/>\n$ cd ..\/compile\/<br \/>\n$ tar xjvf binutils-2.18.tar.bz2<br \/>\n$ mkdir build-binutils<br \/>\n$ cd build-binutils<br \/>\n$ ..\/binutils-2.18\/configure &#8211;prefix=\/home\/yasu\/mingw &#8211;target=i386-pc-mingw32<br \/>\n$ make<br \/>\n$ make install<br \/>\nautomake, autoconf, bison \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3044\u3068\u3060\u3081\u3002bison \u304c\u306a\u3044\u3068\u5909\u306a\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3068\u307e\u308b\u3002<br \/>\n[ gcc \u4f5c\u308b ]<br \/>\n$ ..\/gcc-4.0.4\/configure  &#8211;program-prefix=i386-pc-migw32- &#8211;program-suffix=-4.0.4 &#8211;with-gcc &#8211;with-gnu-ld &#8211;with-gnu-as &#8211;target=i386-pc-mingw32 &#8211;prefix=\/home\/yasu\/mingw &#8211;enable-threads &#8211;disable-nls &#8211;enable-languages=c,c++ &#8211;disable-win32-registry &#8211;disable-shared &#8211;enable-sjis-exceptions &#8211;with-headers=\/home\/yasu\/mingw\/include &#8211;with-libs=\/home\/yasu\/mingw\/lib &#8211;with-build-time-tools=\/home\/yasu\/mingw\/bin<br \/>\n$ make<br \/>\n$ make install<br \/>\nMinGW native \u306e\u306f\u307e\u3060 make \u304c\u901a\u3089\u306a\u3044\u306e\u306b\u3001\u3053\u3063\u3061\u306f\u4e00\u767a\u3060\u3063\u305f\u3002\u4f59\u88d5\u3002<br \/>\n\u52d5\u304f\u304b\u306f\u307e\u3060\u30c1\u30a7\u30c3\u30af\u3057\u3066\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac \u306b\u306f MinGW \u306e\u74b0\u5883\u3092\u5165\u308c\u3066\u3044\u3066\u3001\u3059\u3054\u304f\u4fbf\u5229\u306a\u3093\u3060\u304c\u3001Cygwin \u306b\u3082\u5165\u308c\u308b\u3053\u3068\u306b\u3057\u305f\u3002Cygwin \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3082\u306a\u3093\u3068\u304b\u306a\u308a\u305d\u3046\u306a\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3071\u308a\u81ea\u5206\u3067\u4f5c\u3063\u305f\u307b\u3046\u304c\u5b89\u5fc3\u306a\u306e\u3067\u3001\u81ea\u5206\u3067 ~\/mingw &hellip; <a href=\"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/01\/12\/1934\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Cygwin \u3067 MinGW \u306e\u30af\u30ed\u30b9\u30d3\u30eb\u30c9\u74b0\u5883&#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":[],"class_list":["post-1934","post","type-post","status-publish","format-standard","hentry","category-unix-"],"_links":{"self":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1934","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=1934"}],"version-history":[{"count":0,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1934\/revisions"}],"wp:attachment":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}