GCC now supports SPARC Systems with the addition of its compiler extension, which optimizes the Sun Code Generator for SPARCs.
The compiler commands are the same as GCC: gcc and g++. All of the GCC command-line options are present, plus many more. You can crank up the optimization level by using -O3 and -fast. In addition, you could use interprocedural optimizations (-xipo) and profile-driven optimization (-xprofile) to further enhance your programs.
The current version is just the beginning, and more optimizations are on the horizon. The install process has been simplified for your convenience. You only need to bunzip and untar the tarballs into a directory with write permission, and you're ready to go! No superuser access is required.
Programs compiled with GCC for SPARC Systems follow the same ABI as those compiled by GCC. You can mix and match GCC for SPARC Systems and GCC compiled objects, giving you the flexibility to use both compilers.
Keep up to date with the latest enhancements by adding yourself to the announce mailing list. In conclusion, if you're looking for a powerful and efficient compiler, GCC for SPARC Systems is a must-try!
Version 4.3.2: N/A