Skip navigation
This discussion is archived

C++ compiler for Mac OS X Leopard

3095 Views 8 Replies Latest reply: May 20, 2009 10:09 AM by Mudge RSS
sedirox Calculating status...
Currently Being Moderated
May 19, 2009 2:23 AM
i have been scouting the internet for the past few days trying to find a good c++ compiler for mac os x leopard. i heard xcode had a good compiler program on it and is on the installation disc the came with my macbook. but in order for me to use it, i need to downgrade my system to tiger. and i can't join the apple development site cause i'm not yet a college student and i dont work for any company.

i'm getting quite desperate now because i really need a compiler in order to learn c++ so i can start programming...
13 inch MacBook, Mac OS X (10.5.2)
  • Noah Robbin Level 3 Level 3 (700 points)
    Currently Being Moderated
    May 19, 2009 3:17 AM (in response to sedirox)
    The compiler used by XCode is gcc (which includes g++ for C++ programs).

    I am confused as to why you think you need to downgrade to install XCode. It is available on the install discs for 10.4 and 10.5.
    PowerMac G5 and MacPro Dual 2.26 GHz and more, Mac OS X (10.5.6), HP LaserJet 4000TN
  • Mark Jalbert Level 5 Level 5 (4,390 points)
    Currently Being Moderated
    May 19, 2009 3:54 AM (in response to sedirox)
    You could install fink or macports which are package management systems for open source software. Then install the gcc compiler.
    QuickSilver_2002, iMac_G5, Mac OS X (10.5.6)
  • Mudge Calculating status...
    Currently Being Moderated
    May 19, 2009 4:08 AM (in response to sedirox)
    There's also no need to be a student or work for a company to register for an ADC account.

    Go for the "free online" account and enter "none" into the company/organization field. That will give you access to the latest XCode developer tools and documentation, among other resources.
    Mac Pro Quad 3GHz, Mac OS X (10.5.6), 6GB, 8800 GT
  • I love my macbook!!!! Level 4 Level 4 (1,415 points)
    Currently Being Moderated
    May 19, 2009 4:02 PM (in response to sedirox)
    You can also try downloading and installing Netbeans, the compiler from Sun. I've been using it for awhile and think it's pretty good. However, Xcode is still the best.
    Macbook, Mac OS X (10.5.6), Macbook  iPod Nano (3rd gen.)  iPhone 3G  iMac (intel)  no sign of windows.
  • nerowolfe Level 6 Level 6 (13,070 points)
    Currently Being Moderated
    May 19, 2009 5:39 PM (in response to sedirox)
    sedirox wrote:
    i have been scouting the internet for the past few days trying to find a good c++ compiler for mac os x leopard. i heard xcode had a good compiler program on it and is on the installation disc the came with my macbook. but in order for me to use it, i need to downgrade my system to tiger.

    Why? It's on your Leopard DVD.
    and i can't join the apple development site cause i'm not yet a college student and i dont work for any company.
    Who told you that? It's not true
    i'm getting quite desperate now because i really need a compiler in order to learn c++ so i can start programming...

    As noted, install it from your Leopard DVD or join ADC and download it.
    MacBookPro3,1-17"Core2Duo/VistaUlt64SP1; MacBookPro1,1-15"/XPProSP3; Dual G5/XPP, Mac OS X (10.5.6), Homebrew 3GHz ASUS PC, Dell Inspiron8k, Abacus, Sliderule, HP-50G
  • weisbach Calculating status...
    Currently Being Moderated
    May 20, 2009 3:10 AM (in response to sedirox)
    Are you sure you're using the Leopard installation disks?
    MacBook Pro, Mac OS X (10.5.6)
  • Mudge Level 2 Level 2 (305 points)
    Currently Being Moderated
    May 20, 2009 10:09 AM (in response to sedirox)
    I don't know exactly which kind of OS X disks you have - but I've just checked the ones that came with a recent MacBook.

    Don't try and run the OS X installer itself. Boot your Mac as normal and open the install disk using Finder. You need to open the folder at the root level called "Optional Installs", then the one called "Xcode Tools". There's an installer package in there called "Xcode Tools" - double-click that!

    Hope this helps.

    P.S. You may want to read the "About Xcode Tools" PDF document before you go ahead.
    Mac Pro Quad 3GHz, Mac OS X (10.5.7), 6GB, 8800 GT

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.