looks like you just need to set the correct env, it should then work. the release notes contains some info. below is copied from Release Notes:
The command takes the form:
Where argument is either ia32 or intel64 as appropriate for the architecture you are building for.
On my RHEL 5.4 host (gnu 4.1.2) unfortunately :$ g++ -std=gnu++98 test.cc