Thread: Programming on Mac
03-26-2007, 04:52 PM #1Programming on Mac
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.
03-26-2007, 05:13 PM #2
- 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 Terminal.app (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, www.campbell-tx.net, 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
03-27-2007, 07:21 AM #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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Mike120 in forum Switcher HangoutReplies: 11Last Post: 06-15-2009, 05:44 PM
By frewegooh in forum Switcher HangoutReplies: 20Last Post: 05-01-2007, 02:32 PM
By DrQuincy in forum OS X - Development and DarwinReplies: 0Last Post: 01-26-2007, 12:17 PM
By Skarss in forum Web Design and HostingReplies: 1Last Post: 06-16-2005, 12:29 PM
By natey in forum OS X - Development and DarwinReplies: 4Last Post: 06-29-2004, 06:05 AM