{"id":6579,"date":"2019-03-06T23:26:19","date_gmt":"2019-03-06T14:26:19","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=6579"},"modified":"2023-05-27T18:30:39","modified_gmt":"2023-05-27T09:30:39","slug":"%e3%80%90c%e8%a8%80%e8%aa%9e%e3%80%91%e3%80%8c%e3%83%93%e3%83%ab%e3%83%89%e3%80%8d%e4%bd%9c%e6%a5%ad%e3%81%ae%e5%8a%b9%e7%8e%87%e5%8c%96%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=6579","title":{"rendered":"\u3010C\u8a00\u8a9e\u3011\u300c\u30d3\u30eb\u30c9\u300d\u4f5c\u696d\u306e\u77e5\u8b58\u3068\u52b9\u7387\u5316\u306b\u3064\u3044\u3066\uff08make\u7b49\uff09"},"content":{"rendered":"<p>\u30d3\u30eb\u30c9\u4f5c\u696d\u306b\u304a\u3044\u3066\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u4e0b\u8a18\u306e\u3053\u3068\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u8907\u96d1\u306b\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u4ed6\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u4f9d\u5b58\u95a2\u4fc2<\/li>\n<li>\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u9806\u5e8f<\/li>\n<\/ul>\n<h2>\u4ed6\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u4f9d\u5b58\u3068\u306f\uff1f<\/h2>\n<p>\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u306b\u306f\u300cstdio.h\u300d\u3068\u3044\u3046\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<span style=\"color: #ff0000;\"><strong>\u300cstdio.h\u300d\u3068\u3044\u3046\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b<\/strong><\/span>\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">#include &lt;stdio.h&gt;\r\n\r\nint main(){\r\n\u3000\uff5e\r\n}<\/pre>\n<p>\u9006\u306b\u5168\u304f\u4f55\u3082\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3057\u3066\u3044\u306a\u3044\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3084\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u3063\u305f\u5834\u5408\u306f\u3001\u305d\u308c\u306f<span style=\"color: #ff0000;\"><strong>\u4ed6\u30d5\u30a1\u30a4\u30eb\u3078\u4f9d\u5b58\u3057\u3066\u3044\u306a\u3044<\/strong><\/span>\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<h2>\u30bd\u30fc\u30b9\u306e\u4f9d\u5b58\u306b\u304a\u3051\u308b\u5f71\u97ff\uff08\u30b3\u30f3\u30d1\u30a4\u30eb\u9806\u5e8f\uff09\u3068\u306f\uff1f<\/h2>\n<p>\u4f9d\u5b58\u3057\u3066\u3044\u308b\u5148\u306e\u30b3\u30fc\u30c9\u304c\u5909\u66f4\u3055\u308c\u305f\u5834\u5408\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u4f9d\u5b58\u5143\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u30d3\u30eb\u30c9\u4f5c\u696d\u3092\u3084\u308a\u76f4\u3059\u5fc5\u8981<\/strong><\/span>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u89e3\u6c7a\u7b56\u306f\uff1f<\/h2>\n<h3>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u7b49\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3046\u3002<\/h3>\n<p>\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u307e\u305a\u306f\u30d3\u30eb\u30c9\u4f5c\u696d\u306e\u624b\u9806\u3092\u8a18\u8ff0\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>Linux\u3067\u306f<span style=\"color: #ff0000;\"><strong>\u300c\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u300d<\/strong><\/span>\u3001Windows\u3067\u306f<span style=\"color: #ff0000;\"><strong>\u300c\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u300d<\/strong><span style=\"color: #000000;\">\u304c\u4f7f\u3048\u307e\u3059\u3002<\/span><\/span><\/p>\n<h4>\u30b7\u30a7\u30eb\u306e\u61f8\u5ff5\u70b9<\/h4>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u30d3\u30eb\u30c9\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u306b\u5fdc\u3058\u3066\u51e6\u7406\u6642\u9593\u304c\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u306a\u305c\u306a\u3089\u3001\u5c11\u3057\u306e\u4fee\u6b63\u3067\u3082\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u6bce\u56de\u30b3\u30f3\u30d1\u30a4\u30eb\u3084\u30ea\u30f3\u30af\u4f5c\u696d\u3092\u884c\u3046\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306e\u304c<span style=\"color: #ff0000;\"><strong>make<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u300cmake\u300d\u306b\u3088\u308b\u30d3\u30eb\u30c9<\/h3>\n<h4>make\u306e\u6982\u8981<\/h4>\n<p>\u30b7\u30a7\u30eb\u3088\u308a\u3082\u9ad8\u5ea6\u3067\u52b9\u7387\u7684\u306a\u30d3\u30eb\u30c9\u3092\u8a18\u8ff0\u3067\u304d\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u9055\u3063\u3066\u5fc5\u305a\u3057\u3082\u9806\u756a\u306b\u5b9f\u884c\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3067\u3059\u3002<\/p>\n<h4>Makefile<\/h4>\n<p>make\u3092\u4f7f\u3046\u969b\u306b\u3001\u30d3\u30eb\u30c9\u306e\u624b\u9806\u3084\u69cb\u9020(\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3084\u30ea\u30f3\u30af\u65b9\u6cd5)\u3092\u8a18\u8ff0\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u66f8\u304d\u65b9<\/strong><\/p>\n<pre class=\"lang:default decode:true\">\u30bf\u30fc\u30b2\u30c3\u30c8\uff1a\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\r\n\u3000\u5b9f\u884c\u3059\u308b\u3079\u304d\u30b3\u30de\u30f3\u30c9<\/pre>\n<table>\n<tbody>\n<tr>\n<th>\u7a2e\u985e<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>\u30bf\u30fc\u30b2\u30c3\u30c8<\/td>\n<td>\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u540d<\/td>\n<\/tr>\n<tr>\n<td>\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb<\/td>\n<td>\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u306e\u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\uff08\u8907\u6570\u6307\u5b9a\u53ef\u80fd\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5b9f\u884c\u3059\u308b\u3079\u304d\u30b3\u30de\u30f3\u30c9<\/td>\n<td>\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\uff08gcc -c\u7b49\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>make\u306e\u5b9f\u884c\u65b9\u6cd5<\/h4>\n<pre class=\"lang:default decode:true \">make \u30bf\u30fc\u30b2\u30c3\u30c8\u540d\uff08\u7701\u7565\u3057\u305f\u3089\u5148\u982d\u306e\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u306a\u308b\u3002\uff09<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>\u30b7\u30a7\u30eb\u3068\u9055\u3063\u3066\u5fc5\u305a\u524d\u304b\u3089\u9806\u756a\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u9055\u3063\u3066\u3001<\/strong><\/span>\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u8a18\u8ff0\u3055\u308c\u305f\u4f9d\u5b58\u95a2\u4fc2\u3092\u628a\u63e1\u3057\u3066\u3001<span style=\"color: #ff0000;\"><strong>\u4fee\u6b63\u7b87\u6240\u306b\u5f71\u97ff\u306e\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u306e\u30d3\u30eb\u30c9\u3092\u81ea\u52d5\u3067\u884c\u3063\u3066\u304f\u308c\u308b<\/strong><\/span>\u306e\u3067\u3059\u3002\u77ed\u6642\u9593\u3067\u306e\u30d3\u30eb\u30c9\u4f5c\u696d\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30d3\u30eb\u30c9\u4f5c\u696d\u306b\u304a\u3044\u3066\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u4e0b\u8a18\u306e\u3053\u3068\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u8907\u96d1\u306b\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002 \u4ed6\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u4f9d\u5b58\u95a2\u4fc2 \u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u9806\u5e8f \u4ed6\u306e\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u4f9d\u5b58\u3068\u306f\uff1f \u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30d7\u30ed [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[74],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6579"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6579"}],"version-history":[{"count":14,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6579\/revisions"}],"predecessor-version":[{"id":20148,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6579\/revisions\/20148"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6579"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}