Results 1 to 3 of 3
  1. #1

    Chris3d's Avatar
    Member Since
    Mar 23, 2007
    Macbook Pro 15", 2GB RAM
    Programming on Mac
    Hi Everyone,
    I just recently got my first Apple, a Macbook Pro. I am used to programming through linux shell, so I was wondering if my Macbook has any built in compilers such as g++ or gcc? I am totally new to macs, so any info would be very useful.


  2. #2

    mac57's Avatar
    Member Since
    Apr 29, 2006
    St. Somewhere
    iMac 27" 3.4 GHz, 256 GB SSD, 2 TB HDD, 8 GB RAM
    It sure does, and it even has X11. See your Install DVD, and scroll down to the Optional Installs area. You should be able to get both gcc and X11 there.

    I have personally done lots of (a souped up bash shell) programming using this stuff. I basically ported several of my Linux xterm/console apps over to Mac for Terminal. See my web site,, and check out the Mac OS X page.

    BTW, Welcome to Mac Forums Chris3D!!
    My Macs: iMac 27" 3.4 GHz, Mac Pro 3.2 GHz, PowerMac G5 Quad 2.5 GHz, G4 Cube with 1.2 GHz Upgrade
    My iStuff: 64GB iPhone 5, 64GB iPad4, 30GB iPod Video, 16GB iPod Touch
    My OS': Mac OS X Lion, Mac OS X Snow Leopard, Mac OS X Tiger, Mac OS 9.2.2, openSUSE 10.3
    I was on the Mac-Forums honor roll for September 2007

  3. #3

    Member Since
    Apr 25, 2003
    The home of the free and the land that did for Braveheart.
    24"iMac, 15"MB-Pro, MacBook, G4 iMac, PM G5 2x2Ghz, G4 iBook & Some PCs
    Just to add that gcc is installed as part of the XCode package install.

    It is best to do the complete install to get all the libraries and then if you need the space delete the examples and any other stuf you don't need.

    After the XCode install everything will be in a Developer folder in the root of your main harddrive partition (i.e the system disk).

    You don't need X11 if you are coding for OS X but it may come in handy if you want to build/run any Linux Open Source Applications.


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Programming C++ on Mac...?
    By Mike120 in forum Switcher Hangout
    Replies: 11
    Last Post: 06-15-2009, 06:44 PM
  2. Mac Programming
    By frewegooh in forum Switcher Hangout
    Replies: 20
    Last Post: 05-01-2007, 03:32 PM
  3. C++ programming on a Mac
    By DrQuincy in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 01-26-2007, 01:17 PM
  4. programming in mac
    By Skarss in forum Web Design and Hosting
    Replies: 1
    Last Post: 06-16-2005, 01:29 PM
  5. Programming on the Mac
    By natey in forum OS X - Development and Darwin
    Replies: 4
    Last Post: 06-29-2004, 07:05 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