Results 1 to 10 of 10
  1. #1
    snow leopard and g++

    Member Since
    Sep 16, 2009
    Posts
    3
    snow leopard and g++
    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.

  2. #2
    snow leopard and g++
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  3. #3
    snow leopard and g++
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    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!

  4. #4
    snow leopard and g++

    Member Since
    Sep 16, 2009
    Posts
    3
    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.

  5. #5
    snow leopard and g++
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    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!

  6. #6
    snow leopard and g++
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  7. #7
    snow leopard and g++
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    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!

  8. #8
    snow leopard and g++

    Member Since
    May 31, 2011
    Posts
    1
    Angry Xcode cost $ now
    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?

  9. #9
    snow leopard and g++
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,188
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    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.

  10. #10
    snow leopard and g++
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VMware Fusion update lets users virtualize Leopard, Snow Leopard (MacWorld)
    By Lifeisabeach in forum Apple Rumors and Reports
    Replies: 16
    Last Post: 11-22-2011, 04:20 PM
  2. Replies: 2
    Last Post: 08-10-2011, 02:00 PM
  3. Remove Snow Leopard Server and re-install Snow Leopard
    By b-rad in forum OS X - Operating System
    Replies: 4
    Last Post: 08-09-2011, 01:33 AM
  4. Replies: 6
    Last Post: 01-02-2011, 05:15 PM
  5. Replies: 2
    Last Post: 04-10-2010, 05:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •