1000 rage-quits later, I present you this article. But for those of you who were constant users of Windows and Command Prompt, and never felt the necessity for a C compiler, GCC seems to come out of the blue and a tough nut to install. In this case xcode-select -reset works as pointed by akozin.GCC, abbreviation for 'GNU Compiler Collection' (thanks (and not Gulf Cooperation Council, like I'd assumed) is a necessity if you (or your pesky college) is into C Programming.Īlmost all Linux distros come pre-installed with it so they are out of the trouble. You may get an error message: "Can't install the software because it is not currently available from the Software Update server". I found the solution in this question, Command Line Tools not working. ![]() Sudo xcode-select -switch /Library/Developer/CommandLineTools sudo xcode-select -switch /Applications/Xcode.app As a follow on step, you may need to reset the path to Xcode if you have several versions or want the command line tools to run without Xcode. The problem is that one needs to explicitly agree to the license agreement. If the above alone doesn't do it, then also run: sudo xcode-select -reset ![]() You do not need Xcode, you can install only the Command Line Tools here, it is about 130 MB (600 MB as of Xcode v14.1). (The popped Window may be behind other windows.) This will pop a dialogue box, Select "Install", and it will download and install the Command Line Tools package and fix the problem. ![]() Open Terminal, and run the following: xcode-select -install
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |