Link to home
Start Free TrialLog in
Avatar of c095276
c095276

asked on

New Unix programmer

I am relatively new to Unix programming and have been given a small program to write in order to get my feet wet.  I am having a problem with both the compiler and the version of STL that is on this system.  I’m working under AIX with the IBM xlC ver 3.6.4 compiler.  The problem with the compiler is that I can’t get certain C++ constructs working that I have always used, s.a. the bool type, and the namespace construct.  Also the version of STL on the system is a restricted version, which is missing certain elements s.a. the string type.  Can anybody tell me where I can get a more ANSI compliant C++ compiler and a better version of the STL for this compiler?  It must have fairly complete installation instructions since I have limited experience in AIX,  that is I need the idiot's guide to installation.


Thanks for any help
Avatar of KangaRoo
KangaRoo

Isn't C++ getting mature if people are saying that they've ALWAYS used bool and namespaces! ! !

Gnu's gcc is old.  Cygwin is being updated and supported.

See http://sourceware.cygnus.com/cygwin/download.html

However, if your boss forces you to use the "supported" compiler from the vendor, then you can typedef bool, use const or #define for true/false, and avoid namespaces.  
Isn't C++ getting mature if people are saying that they've ALWAYS used bool and namespaces! ! !

Gnu's gcc is old.  Cygwin is being updated and supported.

See http://sourceware.cygnus.com/cygwin/download.html

However, if your boss forces you to use the "supported" compiler from the vendor, then you can typedef bool, use const or #define for true/false, and avoid namespaces.  
The GNU and Cygnus compilers are the same, since the projects have merged.  So you can't refer to gcc as old and point to Cygnus, as it's the same thing.

/Stefan
ASKER CERTIFIED SOLUTION
Avatar of jelaiw
jelaiw

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial