{"id":1952,"date":"2008-01-12T01:56:32","date_gmt":"2008-01-11T16:56:32","guid":{"rendered":"http:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/01\/12\/windows_vista_mingw\/"},"modified":"2008-01-12T01:56:32","modified_gmt":"2008-01-11T16:56:32","slug":"windows_vista_mingw","status":"publish","type":"post","link":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/01\/12\/1952\/","title":{"rendered":"Windows Vista \u3067 MinGW"},"content":{"rendered":"<p>Windows Vista \u3067\u958b\u767a\u74b0\u5883\u3092\u6574\u5099\u3002<br \/>\n&#8211; MinGW-5.1.3 (with g++ and MinGW make)<br \/>\n&#8211; MSYS-1.0.10<br \/>\n\u3092\u3044\u308c\u305f\u3002MSYS \u306f\u3082\u3063\u3068\u65b0\u3057\u3044 snapshot \u304c\u51fa\u3066\u3044\u308b\u306e\u3060\u3051\u3069\u3001\u30bd\u30fc\u30b9\u3057\u304b\u306a\u3044\u306e\u3067\u3073\u3073\u3063\u3066\u5165\u308c\u3089\u308c\u306a\u304b\u3063\u305f(\u7b11)\u3002<br \/>\n\u3067\u3001gcc + g++ \u306f\u3044\u3064\u3082\u3069\u304a\u308a\u81ea\u5206\u3067 build \u3059\u308b\u3002\/mingw\/include \u3092 \/usr\/include \u306b\u30ea\u30f3\u30af\u3057\u306a\u3044\u3068\u3060\u3081\u306a\u306e\u306f\u6614\u3068\u540c\u3058\u3060\u304c\u3001cc1 \u306e\u5165\u3063\u3066\u3044\u308b\u3068\u3053\u308d (\/mingw\/libexec\/gcc\/mingw32\/3.4.5) \u306b\u3082 path \u3092\u901a\u3055\u306a\u3044\u3068\u3001gcc \u304c\u52d5\u304b\u306a\u304b\u3063\u305f&#8230;<br \/>\n% ln -s \/mingw\/include \/usr\/include<br \/>\n% export PATH=$PATH:\/mingw\/libexec\/gcc\/mingw32\/3.4.5<br \/>\n% ..\/gcc-4.0.4\/configure &#8211;with-gcc &#8211;with-gnu-ld &#8211;with-gnu-as &#8211;host=mingw32<br \/>\n&#8211;target=mingw32 &#8211;prefix=\/gcc4.0.4 &#8211;enable-threads &#8211;disable-nls &#8211;enable-lan<br \/>\nguages=c,c++ &#8211;disable-win32-registry &#8211;disable-shared &#8211;enable-sjls-exceptions<br \/>\n% make<br \/>\n\u3067\u3001\u9806\u8abf\u306b\u3044\u304f\u304b\u3068\u601d\u3063\u305f\u306e\u3060\u304c\u3001\u9014\u4e2d\u3067\u751f\u6210\u3055\u308c\u308b genmodes \u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6319\u52d5\u304c\u304a\u304b\u3057\u304f\u3066\u3001\u30c7\u30a3\u30b9\u30af\u3092\u57cb\u3081\u5c3d\u304f\u3059\u307b\u3069\u5de8\u5927\u306a\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u304f\u3064\u3082\u4f5c\u3063\u3066\u3057\u307e\u3044\u3001\u9014\u4e2d\u3067 build \u3092\u4e2d\u6b62\u3059\u308b\u306f\u3081\u306b\u3002\u8abf\u3079\u3066\u307f\u308b\u3068\u3001genconf.c \u3067\u306f printf() \u306e format string \u306b  %n \u304c\u4f7f\u308f\u308c\u3066\u304a\u308a\u3001\u3053\u308c\u306f printf \u3067\u51fa\u529b\u3059\u308b\u6587\u5b57\u304c\u4f55\u6841\u3042\u308b\u304b\u8abf\u3079\u308b\u305f\u3081\u306e\u3082\u306e\u3060 (\u3057\u3089\u306a\u304b\u3063\u305f)\u3002\u3057\u304b\u3057\u3001\u6700\u8fd1\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u306e\u3067\u4f7f\u308f\u306a\u3044\u3088\u3046\u306b\u3057\u3088\u3046\u3001\u3068\u3044\u3046\u3053\u3068\u3067 Vista \u304b\u3089\u4f7f\u3048\u306a\u304f\u306a\u3063\u305f\u6a21\u69d8\u3002\u3053\u306e\u5834\u5408\u5bfe\u5fdc\u3059\u308b\u5909\u6570\u306f\u66f4\u65b0\u3055\u308c\u306a\u3044\u304b\u3089\u3001\u304a\u304b\u3057\u306a\u5024\u306b\u306a\u3063\u3066\u3001\u5de8\u5927\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u3066\u3057\u307e\u3046\u3088\u3046\u3060\u3002\u5e78\u3044\u306b\u3057\u3066\u3001genmodes.c \u3067 %n \u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u306f printf \u306e\u8fd4\u308a\u5024\u3092\u4f7f\u3063\u3066\u66f8\u304d\u76f4\u305b\u308b\u306e\u3067\u3001\u306a\u3093\u3068\u304b\u306a\u308b\u611f\u3058\u3002\u3061\u306a\u307f\u306b2\u7b87\u6240\u3060\u3002<br \/>\nMSYS \u304c\u3042\u308c\u3070 MinGW \u306e\u4e2d\u3067\u751f\u304d\u3066\u3044\u3051\u308b\u3068\u306f\u3044\u3048\u3001Cygwin \u306e\u307b\u3046\u304c\u4f55\u304b\u3068\u4fbf\u5229\u306a\u306e\u3067\u3001\u660e\u65e5\u306f Cygwin \u3067\u52d5\u304f MinGW \u306e build \u74b0\u5883\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Vista \u3067\u958b\u767a\u74b0\u5883\u3092\u6574\u5099\u3002 &#8211; MinGW-5.1.3 (with g++ and MinGW make) &#8211; MSYS-1.0.10 \u3092\u3044\u308c\u305f\u3002MSYS \u306f\u3082\u3063\u3068\u65b0\u3057\u3044 sn &hellip; <a href=\"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/01\/12\/1952\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Windows Vista \u3067 MinGW&#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-1952","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\/1952","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=1952"}],"version-history":[{"count":0,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1952\/revisions"}],"wp:attachment":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}