Reccomend me a free c++ compiler

irishScott

Lifer
Oct 10, 2006
21,562
3
0
I've got a computer science lab to do, and the Sun CC compiler on the solaris machines at my university is retarded. Any suggestions?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Even if the Sun CC is retarded it's what has to compile the code for you grade, right? If so, you'll want to stick as close to it as possible. If it's the Sun proprietary compiler you're probbaly screwed, do whatever you can locally with gcc and then hope their compiler isn't too different. If it's gcc then you can work locally all you want confident that it'll work as long as you don't need to link against libraries that only exist on that Sun system.
 

irishScott

Lifer
Oct 10, 2006
21,562
3
0
Originally posted by: Nothinman
Even if the Sun CC is retarded it's what has to compile the code for you grade, right? If so, you'll want to stick as close to it as possible. If it's the Sun proprietary compiler you're probbaly screwed, do whatever you can locally with gcc and then hope their compiler isn't too different. If it's gcc then you can work locally all you want confident that it'll work as long as you don't need to link against libraries that only exist on that Sun system.

We supposedly have the option to use the gcc compiler, but the g++ commandis not recognized for some reason.
 

SunnyD

Belgian Waffler
Jan 2, 2001
32,675
146
106
www.neftastic.com
Originally posted by: irishScott
Originally posted by: Nothinman
Even if the Sun CC is retarded it's what has to compile the code for you grade, right? If so, you'll want to stick as close to it as possible. If it's the Sun proprietary compiler you're probbaly screwed, do whatever you can locally with gcc and then hope their compiler isn't too different. If it's gcc then you can work locally all you want confident that it'll work as long as you don't need to link against libraries that only exist on that Sun system.

We supposedly have the option to use the gcc compiler, but the g++ commandis not recognized for some reason.

It's gpp, not g++.