When I install Xcode from App Store, I can compile programs in Xcode as well as command line too. Several command line utilities like clang, make and git all become available when Xcode.app is installed. So I thought that the separate package of command line tools are only for those who do not want a full IDE installed.
But to my surprise, one of the linking problems I encountered when compiling MacVim can be successfully solved by installing the command line tools with xcode-select --install. So apparently the Xcode.app and the command line tools differ, at least in subtle ways. What is the difference then? Does the latter have better coverage for all the essentials for programming than the former?
Currently I am using Xcode 6.0.1 on Mavericks.
clang,git,makeas well. Why is installing another copy of these tools necessary to compile some software? – Siyuan Ren Oct 17 '14 at 10:57git,makeare all in the directory/Library/Developer/CommandLineTools/usr/binso they are, indeed, included in the "basic" command line tools. – Siyuan Ren Oct 17 '14 at 11:54