Sun Studio and GCC tools
Sun Studio can interoperate with the GCC tool chain in different ways. This page will discuss the different kinds of interoperability and what the caveats are. See also : GNU Compatibility
Using Sun compilers with gdb
gdb has a fairly tightly-bound understanding of the dwarf information emitted by gcc and g++. It also has a fairly deep understanding of the g++ ABI (IE name mangling, vtable layout etc). There is some desire at the moment to make off-the-shelf NetBeans (which comes with GNU support built in) work with Sun compilers. The better answer will always be to use the Sun debugger (dbx and/or Sun Studio IDE) when you're building with the Sun compilers. But just for the record, we document some of the known issues with using gdb on programs build with Sun compilers. See also: Using Sun compilers with gdb
Using dbx with gcc and g++ programs
Sun has worked over the last several releases to make dbx work with gcc and g++ programs. It's a bit of a catch-up game, so I'll try to track the latest issues and problems on this wiki, hopefully people will add issues that we don't know about yet. See also: Using dbx with gcc and g++ programs