Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

QurazyQuisp

macrumors newbie
Original poster
Nov 3, 2006
28
2
Jersey City, NJ
Hello,
I need to use G++ for one of my programming classes... I used to before purchasing a mac just ssh into the schools servers and use emacs/g++ remotely, but now that I'm on a unix based system, I'd like to run g++...

Does anyone know how to install/download g++?

Also, have you guys ever heard of aquamacs? (http://aquamacs.org/) Should I install this or just go with emacs?

Thanks.
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
The regular developer tools (Xcode) that came with your OS X discs use GCC, and g++ comes along for the ride.

Aquamacs is a nice emacs build. There are also the porkrind and zenitani builds if you prefer an emacs that doesn't try so hard to pretend it's a Mac program. They're all built around reasonably recent GNU code and will run all the usual elisp goodies.
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
When using xcode, will I have to worry about issues compiling between my mac and say a debian server with g++?
If you stick to the standards, your source code should be portable and compile fine in both environments. Jump into BSDisms/Macisms/Linuxisms, and you're going to have to deal with the usual conditional fun.

It's a good idea to peek at the man pages for both operating systems when looking up functions, to make sure that you're not falling into that territory.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.