Different implementations of Hash Map in GCC 3.2.2 v/s ICC 8.x

Different implementations of Hash Map in GCC 3.2.2 v/s ICC 8.x

I am been trying to migrate a tool originally developed originally under GCC 3.2.2 to ICC 8.x on Linux. The idea is to enable ICC optimizations to gain on execution /run time performances of the tool

Currently, I am encountering a show stopper with regards to migrating the SW. The hash map implementation under GCC is different from the dinkumware implementation of hash map under ICC. The program errors out when I have a "string " type array indexing into the hash map.

Is there a solution ?

Thankx
Murali

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Murali,

ICC 8.x has an option, -cxxlib-gcc, to use GCC's STL (libstdc++) instead of
dinkumware library (STL). This should solve your problem.

HTH,
CP

Leave a Comment

Please sign in to add a comment. Not a member? Join today