Using Sun Studio with the GCC tool chain

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

Labels

gnu-tools gnu-tools Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact