|Oct 28, 2007, 06:11 PM||#1|
Developer help: GCC with Leopard + Developer tools
On Tiger, installing the Developer Tools was all you needed to do to use GCC at the command line. I installed Leopard today and the new version of the Developer Tools and now I get:
macbook:/ jamie$ gcc -bash: gcc: command not found
|Oct 28, 2007, 06:49 PM||#2|
Make sure that gcc is installed. It resides in /usr/bin in version 10.3 (sorry, have not upgraded from Panther). It may be installed somewhere else, though. Try 'whereis gcc'. Once you know where gcc is located, you can add the location to your $PATH, which you can alter in your .bashrc file (or .cshrc), for example. Just add a colon and the path you found.
|Oct 28, 2007, 07:05 PM||#3|
Thanks, I actually solved this myself - turned out I'd unticked the option for command line tools in the installer. I mustn't have read the description properly. File this under "stupid questions"
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Command Line Developer Tools 18.104.22.168||Peaceful||Mac Programming||3||Mar 16, 2014 01:28 AM|
|Apple Developer Website Hacked: Developer Names, Addresses May Have Been Taken||MacRumors||MacRumors.com News Discussion||200||Jul 26, 2013 04:49 PM|
|Resolved: Developer tools without Xcode?||beautifulcoder||Mac Programming||23||Jun 9, 2013 07:39 PM|
|Apple Planning March Special Event to Introduce Developer Tools for TV?||MacRumors||MacRumors.com News Discussion||84||Mar 11, 2013 09:16 AM|
All times are GMT -5. The time now is 11:33 AM.