{"id":5519,"date":"2013-12-10T05:05:36","date_gmt":"2013-12-09T18:05:36","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=5519"},"modified":"2013-12-10T05:05:36","modified_gmt":"2013-12-09T18:05:36","slug":"xcode-and-its-command-line-tools-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/xcode-and-its-command-line-tools-primer-tutorial\/","title":{"rendered":"Xcode and its Command Line Tools Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/Xcode_command_line_tools.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Xcode and its Command Line Tools Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/Xcode_command_line_tools.jpg\" title=\"Xcode and its Command Line Tools Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Xcode and its Command Line Tools Primer Tutorial<\/p><\/div>\n<p>Xcode is a great GUI IDE application that comes with Macs &#8220;out of the box&#8221; (quite often).  In the earlier versions &#8230; think maybe less than 4 &#8230; &#8220;out of the box&#8221; it lived with C and C++&#8217;s great gcc compiler &#8230; have talked about this before &#8230; <a target=_blank title='rave' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4844#hfafodm'>raved<\/a> perhaps??!!! &#8230; anyway &#8230; that went away with the later versions &#8230; but you can get it back.   Why bother?   If you like to look around and do those great command line offerings like Tcl\/Tk or just plain simple C (like we do in this tutorial), as well as leaving your Xcode GUI C++ and Objective-C iOS mobile development intact, then think you should install Xcode Command Line Tools, like, yesterday, if you haven&#8217;t already.<\/p>\n<p>Remember at the end of the month to say &#8220;hares&#8221; as your last word and &#8220;rabbits&#8221; as the first word of the next month.<\/p>\n<p><p>Do we need to explain?<\/p>\n<p>Butterflies in Brazil and all &#8230; why buck what the whole world&#8217;s doing? &#8230; chortle, chortle.<\/p>\n<p>Anyway, this action opens a pandora&#8217;s box of possibilities with your Mac, and hope if you are in this position &#8230; you can test if you are by attempting to go <i>gcc<\/i> at the Mac Terminal bash command line &#8230; how&#8217;s the coffee? (if PM, how&#8217;s the daquiri?)<\/p>\n<p>To get started, visit this stupendous <a target=_blank title='Xcode command line tools link' href='http:\/\/stackoverflow.com\/questions\/9329243\/xcode-4-4-and-later-install-command-line-tools'>link<\/a>.   Then get into Xcode and go to Xcode->Preferences&#8230;->Downloads (and hopefully you see the Command Line Tools install button to press &#8230; press with both hands, either hand, while doing a triple pike, but &#8230; just &#8230; do &#8230; it!)<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d5519' onclick='var dv=document.getElementById(\"d5519\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=15\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d5519' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Xcode is a great GUI IDE application that comes with Macs &#8220;out of the box&#8221; (quite often). In the earlier versions &#8230; think maybe less than 4 &#8230; &#8220;out of the box&#8221; it lived with C and C++&#8217;s great gcc &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/xcode-and-its-command-line-tools-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37,40],"tags":[234,249,478,723,731,1166,1319,1473],"class_list":["post-5519","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","category-xcode","tag-command-line","tag-configuration","tag-gcc","tag-mac","tag-mac-osx-lion","tag-software-2","tag-tutorial","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/5519"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=5519"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/5519\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=5519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=5519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=5519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}