New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.6 - snow leopard and g++


Post Reply New Thread Subscribe

 
Thread Tools
shigmiya

 
Member Since: Sep 16, 2009
Posts: 3
shigmiya is on a distinguished road

shigmiya is offline
I used to make programs and compile them using gcc or g++. After installing Snow Leopard, the terminal doesn't recognize gcc or g++. Has this happened to anyone else? Any way to fix? Thanks.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,818
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Install Xcode. GCC is included as part of the install. You can find it on either your install discs or through Apple's developer site.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
He's right... after the snow leopard install..


mikeMbp:~ mike$ gcc
-bash: gcc: command not found
mikeMbp:~ mike$ which gcc
mikeMbp:~ mike$


Those bastids... why on earth would they muck with my xcode

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
shigmiya

 
Member Since: Sep 16, 2009
Posts: 3
shigmiya is on a distinguished road

shigmiya is offline
Ah ok, good to know this has happened to other people. What should I do if I already have XCode installed? Re-install it (looked online at it doesn't seem like an easy process)? Thx.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
yea, download 3.2 (might as well get the iphone 3.1 SDK too) and install.. not a huge deal, they'll require you open a free ADC account.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,818
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Quote:
Originally Posted by shigmiya View Post
Ah ok, good to know this has happened to other people. What should I do if I already have XCode installed? Re-install it (looked online at it doesn't seem like an easy process)? Thx.
While you can get the newest version online through ADC, it's also on your SL disc. I realize that you probably want the newest version but I would venture a guess that the one on the disc is probably the newest seeing as how recent SL is.

The one on the disc is 3.2. Go to the "Optional Installs" folder.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Quote:
Originally Posted by vansmith View Post
While you can get the newest version online through ADC, it's also on your SL disc. I realize that you probably want the newest version but I would venture a guess that the one on the disc is probably the newest seeing as how recent SL is.

The one on the disc is 3.2. Go to the "Optional Installs" folder.


getting up to go get the media was more work than downloading it

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
thehme

 
Member Since: May 31, 2011
Posts: 1
thehme is on a distinguished road

thehme is offline
Hi all, so I checked out downloading xcode from the AD site, after re-installing snow leopard, and it turns out they charge for it now! I don't even care to use it, I just need to use the GNU CPP compiler, so what do you suggest?
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,501
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
There's a copy of Xcode, the previous free version, on your Snow Leopard disc, so use that if you don't want to pay the $5 bucks for one from the Mac Store..

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Quote:
Originally Posted by Raz0rEdge View Post
There's a copy of Xcode, the previous free version, on your Snow Leopard disc, so use that if you don't want to pay the $5 bucks for one from the Mac Store..
There is also the (still free) 3.x version on the developer site. In fact, it was even updated recently.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks

Post Reply New Thread Subscribe


« Chinese language | Cannot switch between applications, use drop downs etc »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Just did Snow Leopard clean installation stevegate OS X - Operating System 3 09-12-2009 10:13 PM
Snow Leopard Killed My Internet evanjorgensen OS X - Operating System 7 09-02-2009 10:12 PM
Amplitube Jimi Hendrix + Snow Leopard cad2blender Music, Audio, and Podcasting 0 09-01-2009 10:30 PM
Snow Leopard kernal on current Leopard install? adriangb OS X - Operating System 19 06-30-2009 12:48 AM
Snow Leopard on new Macs? jcb815 OS X - Operating System 1 03-31-2009 01:09 PM

All times are GMT -4. The time now is 10:58 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?