1752788 Members
6025 Online
108789 Solutions
New Discussion

Re: Compilation on gcc

 
SOLVED
Go to solution
dineshsethiya
Occasional Contributor

Compilation on gcc

Hi,

I'm porting my code from HP-UX 11i (aCC-3.25) to Red Hat 3.4.3-9.EL4(gcc version 3.4.3 20041212 .
Please can anybody tell me what is the corresponding option in gcc makefile for -AA. In other word to use standard template library what is the option.

Many thanks in advance.
Regards,
Dinesh
1 REPLY 1
Craig Gilmore
Trusted Contributor
Solution

Re: Compilation on gcc

The -AA option on the 3.25 version of aCC is used to load the libstdc++_v2 library instead of the libstdc++ 1.2 version.

From the above information, gcc 3.4.3 is being used, which would use the libstdc++-v3 library. Version 3 superceeds the v2 library.

See: http://gcc.gnu.org/libstdc++/

Is there a reason to use v2 features? If you are just looking to map options, then you can drop the -AA option as libstdc++-v3 should be used by default.

gcc version 4 is currently under development.