{"id":7387,"date":"2006-12-31T14:12:00","date_gmt":"2006-12-31T14:12:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=7387"},"modified":"2006-12-31T14:12:00","modified_gmt":"2006-12-31T14:12:00","slug":"%ec%bb%b4%ed%8c%8c%ec%9d%bc%eb%9f%ac","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=7387","title":{"rendered":"\ucef4\ud30c\uc77c\ub7ec"},"content":{"rendered":"<div class=\"desc\">\n        C\uc5b8\uc5b4\ub294 \ucef4\ud30c\uc77c\ub7ec\ub97c \ud544\uc694\ub85c \ud55c\ub2e4. \uc544\ubb34\ub9ac \uba4b\uc9c4 \ud504\ub85c\uadf8\ub7a8\uc744 \ub9cc\ub4e4\uc5b4\ub77c\ub3c4 \ucef4\ud30c\uc77c\uc744 \ud574\uc57c \uc791\ub3d9\ud55c\ub2e4. C\uc5b8\uc5b4\ub97c \ucef4\ud30c\uc77c \ud574\uc904 \uc218 \uc788\ub294 \ucef4\ud30c\uc77c\ub7ec\ub294 \uc5ec\ub7ec\uac00\uc9c0\uac00 \uc788\ub294\ub370, \uc774\uc5d0 \ub530\ub77c C\uc5b8\uc5b4\uc758 \uc885\ub958\ub97c \ub098\ub20c \uc218 \uc788\ub2e4. \ucef4\ud30c\uc77c\ub7ec\ub97c \ub9cc\ub4dc\ub294 \ud68c\uc0ac\ub294 \uc5ec\ub7ec\uacf3\uc774 \uc788\ub294\ub370, \ubcfc\ub79c\ub4dc\uc758 Turbo C, \ub9c8\uc774\ud06c\ub85c\uc18c\ud504\ud2b8\uc758 MS C, \uc778\ud154\uc758 Intel C complier, \uadf8\ub9ac\uace0 GPL\uc5d0 \ub530\ub77c \uc790\uc720\ub86d\uac8c \uc4f8 \uc218 \uc788\ub294 GNU C\uac00 \uc788\ub2e4. \ucef4\ud30c\uc77c\ub7ec\uc758 \uc2e4\ud589\ud654\uc77c \uc774\ub984\uc740 C complier\ub97c \ub530\uc11c cc\ub85c \ub418\uc5b4 \uc788\uace0, \uac01\uac01 \uc55e\uc5d0 \uc790\uae30\ub124 \ud68c\uc0ac \uccab \uae00\uc790\ub97c \ub530\uc11c tcc, mcc, icc, gcc\ub4f1\ub4f1\uc73c\ub85c \ubd80\ub978\ub2e4.<\/p>\n<p>        \ubb3c\ub860, \ub09c \ub9ac\ub205\uc2a4\uc5d0\uc11c \uae30\ubcf8\uc801\uc73c\ub85c \uc790\uc720\ub86d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 gcc\ub97c \uae30\uc900\uc73c\ub85c \uc124\uba85\ud560 \uac83\uc774\ub2e4. \ub2e4\ub978 \ucef4\ud30c\uc77c\ub7ec\ub4e4 \uc0ac\uc6a9\ud558\ub294 \uac83\ub3c4 \uadf8\ub2e4\uc9c0 \uc5b4\ub835\uc9c0\ub294 \uc54a\ub2e4. \ucef4\ud30c\uc77c\ub7ec\uc758 \uc124\uce58\ub294 \uc54c\uc544\uc11c \ub2e4\ub4e4 \ud574 \ubcf4\uc2dc\uae30 \ubc14\ub780\ub2e4.<\/p>\n<p>        \ucef4\ud30c\uc77c\ud558\ub294 \ubc29\ubc95\uc740 \uc544\uc8fc \uc27d\ub2e4. \uc608\ub97c\ub4e4\uc5b4, example.c\ub77c\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \ub9cc\ub4e4\uc5c8\ub2e4\uace0 \ud558\uc790. example.c\ub294 \uba54\ubaa8\uc7a5\uc5d0\uc11c \uc5f4\uc5b4\ubcf4\uba74 \uadf8\ub0e5 \uc0dd\uc73c\ub85c \ubcf4\uc774\ub294, \uc544\uc9c1 \uc694\ub9ac\uac00 \ub418\uc9c0 \uc54a\uc740 \ub0a0\uac83\uc774\ub2e4. \uc774\uac83\uc744 \ucef4\ud4e8\ud130\uc758 \uba54\ubaa8\ub9ac \uc18d\uc5d0 \uc464\uc154\ub123\uae30 \uc704\ud574\uc11c\ub294 \ubc14\uc774\ub108\ub9ac\ub85c \ubc14\uafd4\uc918\uc57c \ud558\ub294\ub370, \uadf8\ub807\uac8c \ud558\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uba85\ub839\ud558\uba74 \ub41c\ub2e4.<br \/>\n        <\/p>\n<blockquote><p>\n         gcc example.c\n        <\/p><\/blockquote>\n<p>        \uadf8\ub7fc a.out\uc774\ub77c\ub294 \ud30c\uc77c\uc774 \uac70\uae30\uc5d0 \uc0c8\ub85c \uc0dd\uc131\ub420 \uac83\uc774\ub2e4. \uc774\uc81c a.out\uc744 \uc2e4\ud589\uc2dc\ud0a4\uba74 \ub41c\ub2e4. \uc2e4\ud589 \ubc29\ubc95\uc740, \ub9ac\ub205\uc2a4\uc758 \uacbd\uc6b0\uc5d0\ub294 .\/a.out \uc774\ub77c\uace0 \ud574\uc57c \ud55c\ub2e4. \uc708\ub3c4\uc6b0\ub294 \ubb50 \uadf8\ub0e5 \ub450\ubc88 \ud074\ub9ad\ud558\uba74 \ub418\uaca0\ub2e4. \ud558\uc9c0\ub9cc \ub9e8\ub0a0 a.out\ub9cc \ub9cc\ub4e4 \uc218\ub294 \uc5c6\uc796\uc740\uac00. \uadf8\ub7fc \ubaa9\uc801\uc9c0\ub97c \uc598\uae30\ud574 \uc8fc\uba74 \ub41c\ub2e4.<br \/>\n        <\/p>\n<blockquote><p>\n         gcc example.c -o example\n        <\/p><\/blockquote>\n<p>        \uc774\ub807\uac8c \ud558\uba74 -o \ub4a4\uc5d0 \uc788\ub294 \ud30c\uc77c \uc774\ub984\uc73c\ub85c \ucef4\ud30c\uc77c \ub418\uc5b4 \ucd9c\ub825\ub41c\ub2e4.<br \/>\n        <br \/>\n        \ub2e4\ub978\uac74 \uadf8\ub2e4\uc9c0 \uc5b4\ub824\uc6b4\uac8c \uc5c6\ub294\ub370, \ub9cc\uc57d \uc218\ud559 \ud568\uc218 \ud5e4\ub354\uc778 math.h\ub97c include\ud574\uc11c \ucef4\ud30c\uc77c \ud560 \uacbd\uc6b0\uc5d0\ub294 \uc5d0\ub7ec\uac00 \ub730 \uac83\uc774\ub2e4. \uc774 \uacbd\uc6b0, link math \uc635\uc158\uc744 \ubd99\uc5ec\uc57c \ud55c\ub2e4. \uc774\uac83\ub54c\ubb38\uc5d0 \uad1c\ud788 \uc0bd\uc9c8\ud558\ub294 \uacbd\uc6b0\uac00 \ub9ce\ub2e4.<br \/>\n        <\/p>\n<blockquote><p>\n         gcc example.c -o example -lm\n        <\/p><\/blockquote>\n<p>        \uadf8\ub7fc \uc5d0\ub7ec\uac00 \uc548\ub098\uc62c \uac83\uc774\ub2e4.<\/p>\n<p>        C\uc5b8\uc5b4 \ud504\ub85c\uadf8\ub7a8\uc744 \ucef4\ud30c\uc77c \ud560 \ub54c \ub098\uc624\ub294 \uc5d0\ub7ec\ub294 \uc804\ubd80 \uc758\ubbf8\uac00 \uc788\ub294 \ub0b4\uc6a9\uc73c\ub85c, \ubd80\ub514 \uc5d0\ub7ec\uac00 \uc544\ubb34\uac83\ub3c4 \uc5c6\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \ub9cc\ub4e4 \uc218 \uc788\uae30\ub97c \ubc14\ub780\ub2e4.<\/p>\n<p>        \uc544\ub798\ub294 gcc &#8211;help \uba85\ub839\uc744 \ucce4\uc744 \ub54c \ub098\uc624\ub294 \ub0b4\uc6a9\uc774\ub2e4.<br \/>\n        <\/p>\n<blockquote><p>\n         Usage: gcc [options] file&#8230;<br \/>\n         <br \/>\n         Options:<br \/>\n         <br \/>\n         -pass-exit-codes         Exit with highest error code from a phase<br \/>\n         <br \/>\n         &#8211;help                   Display this information<br \/>\n         <br \/>\n         &#8211;target-help            Display target specific command line options<br \/>\n         <br \/>\n         (Use &#8216;-v &#8211;help&#8217; to display command line options of sub-processes)<br \/>\n         <br \/>\n         -dumpspecs               Display all of the built in spec strings<br \/>\n         <br \/>\n         -dumpversion             Display the version of the compiler<br \/>\n         <br \/>\n         -dumpmachine             Display the compiler&#8217;s target processor<br \/>\n         <br \/>\n         -print-search-dirs       Display the directories in the compiler&#8217;s search path<br \/>\n         <br \/>\n         -print-libgcc-file-name  Display the name of the compiler&#8217;s companion library<br \/>\n         <br \/>\n         -print-file-name=<lib>   Display the full path to library <lib>\n         <br \/>\n         -print-prog-name=<prog>  Display the full path to compiler component <prog>\n         <br \/>\n         -print-multi-directory   Display the root directory for versions of libgcc<br \/>\n         <br \/>\n         -print-multi-lib         Display the mapping between command line options and<br \/>\n         <br \/>\n         multiple library search directories<br \/>\n         <br \/>\n         -print-multi-os-directory Display the relative path to OS libraries<br \/>\n         <br \/>\n         -Wa,<options>            Pass comma-separated<options> on to the assembler<br \/>\n         <br \/>\n         -Wp,<options>            Pass comma-separated<options> on to the preprocessor<br \/>\n         <br \/>\n         -Wl,<options>            Pass comma-separated<options> on to the linker<br \/>\n         <br \/>\n         -Xassembler <arg>        Pass <arg> on to the assembler<br \/>\n         <br \/>\n         -Xpreprocessor <arg>     Pass <arg> on to the preprocessor<br \/>\n         <br \/>\n         -Xlinker <arg>           Pass <arg> on to the linker<br \/>\n         <br \/>\n         -combine                 Pass multiple source files to compiler at once<br \/>\n         <br \/>\n         -save-temps              Do not delete intermediate files<br \/>\n         <br \/>\n         -pipe                    Use pipes rather than intermediate files<br \/>\n         <br \/>\n         -time                    Time the execution of each subprocess<br \/>\n         <br \/>\n         -specs=<file>            Override built-in specs with the contents of <file><br \/>\n         <br \/>\n         -std=<standard>          Assume that the input sources are for <standard><br \/>\n         <br \/>\n         &#8211;sysroot=<directory>    Use <directory> as the root directory for headers<br \/>\n         <br \/>\n         for headers and libraries<br \/>\n         <br \/>\n         -B <directory>           Add <directory> to the compiler&#8217;s search paths<br \/>\n         <br \/>\n         -b <machine>             Run gcc for target <machine>, if installed<br \/>\n         <br \/>\n         -V <version>             Run gcc version number <version>, if installed<br \/>\n         <br \/>\n         -v                       Display the programs invoked by the compiler<br \/>\n         <br \/>\n         -###                     Like -v but options quoted and commands not executed<br \/>\n         <br \/>\n         -E                       Preprocess only; do not compile, assemble or link<br \/>\n         <br \/>\n         -S                       Compile only; do not assemble or link<br \/>\n         <br \/>\n         -c                       Compile and assemble, but do not link<br \/>\n         <br \/>\n         -o <file>                Place the output into <file><br \/>\n         <br \/>\n         -x <language>            Specify the language of the following input files<br \/>\n         <br \/>\n         Permissible languages include: c c++ assembler none<br \/>\n         <br \/>\n         &#8216;none&#8217; means revert to the default behavior of<br \/>\n         <br \/>\n         guessing the language based on the file&#8217;s extension<\/p>\n<p>         Options starting with -g, -f, -m, -O, -W, or &#8211;param are automatically<br \/>\n         <br \/>\n         passed on to the various sub-processes invoked by gcc.  In order to pass<br \/>\n         <br \/>\n         other options on to these processes the -W<letter> options must be used.\n        <\/p><\/blockquote>\n<p>        \uc774\uac8c \uc815\ud655\ud788 \ubb54\uc598\uae30\uc778\uc9c0\ub294 \ub098\ub3c4 \uc798 \ubaa8\ub974\uaca0\ub2e4. \ub2e4\ub9cc, \ud504\ub85c\uadf8\ub7a8\uc744 \ubcf5\uc7a1\ud558\uac8c \ub9cc\ub4e4\uc218\ub85d \uc704\uc758 \uc635\uc158\ub4e4\uc744 \uc0ac\uc6a9\ud558\uac8c \ub420 \uc77c\uc774 \uc788\uc744\ud14c\ub2c8, \ub9cc\uc57d \ud504\ub85c\uadf8\ub7a8\uc774 \uc644\ubcbd\ud55c\ub370 \ucef4\ud30c\uc77c\uc774 \uc774\uc0c1\ud558\uac8c \ub41c\ub2e4\uba74 \uc635\uc158\uc744 \uc798 \uc0b4\ud3b4\ubcfc \uc77c\uc774\ub2e4.<\/p>\n<p><\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=162\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>C\uc5b8\uc5b4\ub294 \ucef4\ud30c\uc77c\ub7ec\ub97c \ud544\uc694\ub85c \ud55c\ub2e4. \uc544\ubb34\ub9ac \uba4b\uc9c4 \ud504\ub85c\uadf8\ub7a8\uc744 \ub9cc\ub4e4\uc5b4\ub77c\ub3c4 \ucef4\ud30c\uc77c\uc744 \ud574\uc57c \uc791\ub3d9\ud55c\ub2e4. C\uc5b8\uc5b4\ub97c \ucef4\ud30c\uc77c \ud574\uc904 \uc218 \uc788\ub294 \ucef4\ud30c\uc77c\ub7ec\ub294 \uc5ec\ub7ec\uac00\uc9c0\uac00 \uc788\ub294\ub370, \uc774\uc5d0 \ub530\ub77c C\uc5b8\uc5b4\uc758 \uc885\ub958\ub97c \ub098\ub20c \uc218 \uc788\ub2e4. \ucef4\ud30c\uc77c\ub7ec\ub97c \ub9cc\ub4dc\ub294 \ud68c\uc0ac\ub294 \uc5ec\ub7ec\uacf3\uc774 \uc788\ub294\ub370, \ubcfc\ub79c\ub4dc\uc758 Turbo C, \ub9c8\uc774\ud06c\ub85c\uc18c\ud504\ud2b8\uc758 MS C, \uc778\ud154\uc758 Intel C complier, \uadf8\ub9ac\uace0 GPL\uc5d0 \ub530\ub77c \uc790\uc720\ub86d\uac8c \uc4f8 \uc218 \uc788\ub294 GNU C\uac00 \uc788\ub2e4. \ucef4\ud30c\uc77c\ub7ec\uc758 \uc2e4\ud589\ud654\uc77c \uc774\ub984\uc740 C [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-7387","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-1V9","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/7387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7387"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/7387\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7387"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}