Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac OS X: Update to 10.7.2 Server- now GCC is missing

Hey this is my first thread so be gendel 😀

Well anyways I have update to 10.7.2 Server and after that I can't use GCC, and I don't seem to

be able to find it on the computer, I get the following output from terminal:


56344221:test username$ man gcc

No manual entry for gcc

56344221:test username$ gcc

-bash: gcc: command not found


Do anyone has an idea of what to do?


-BeaverKing

MacBookPro5,1, Mac OS X (10.7.1), MacBook Uni

Posted on Oct 13, 2011 1:14 PM

Reply
2 replies

Oct 14, 2011 3:30 AM in response to BeaverKing

gcc is the Gnu Compiler Collection. Apple do not include as standard any developer tools in Mac OS X client or Mac OS X Server. You can however download all Apple's developer tools free of charge as part of XCode and this includes gcc and all the related tools.


As you are using Lion, you would do this via the Mac App Store.


Personally, I prefer not having the developer tools installed on a server as standard for two reasons -


  1. It saves disk space
  2. It reduces the ability for some types of malware to attack you as they cannot install and compile code


When I have needed to compile software on a Mac OS X Server in the past, e.g. Squid, I have installed XCode, done the compiling and installing, and then uninstalled XCode.

Mac OS X: Update to 10.7.2 Server- now GCC is missing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.