Thursday Jul 31, 2008

GCC for Sun Systems

Ok, so I'm going to have to talk about compiler releases again. That's twice in two days. Again, this is an interesting release. GCC for SPARC Systems has become GCC for Sun Systems, the change in name reflects a new functionality as a cross-compiler. GCC for Sun Systems can be run on an x86 box and build SPARC binaries. Installation is a bit complex since building a SPARC binary requires SPARC header files, but other than setting up access to the files from a SPARC machine, the entire process looks pretty easy. So it should be possible to do all the development work locally on an x86 laptop, then copy the final binary over to a SPARC machine for testing.

Thursday Jan 24, 2008

-xalias_level in C and C++

The compiler flag -xalias_level takes various options, and specifies the amount of aliasing that the compiler should assume. For example -xalias_level=any (the default at optimisation levels below -fast) means that the compiler should assume that any pointers may alias (ie point to the same location in memory).

In Sun Studio the available levels have different names for C and C++. adopted the C levels for both C and C++. The following table shows the mapping between the C and C++ names:

CC++
anyany
basicsimple
weakN/A
layoutcompatible
strictN/A
stdN/A
strongN/A

Thursday Nov 08, 2007

Cool Tools platform matrix

A matrix showing the platforms that the various cool tools are available on.

ToolSPARC/Solarisx86/Solarisx86/Linux
GCC for SPARC SystemsYES
Sun Studio 12YESYESYES
ATSYESYES
BITYES
DiscoverYES
SPOTYESYES
FabanYESYESYES
Sun Application Porting AssistantYESYES
Thread AnalyzerYESYESYES
Cool TunerYES
Cool StackYESYES
CooltstYESYESYES
Consolidation ToolYESYESYES
corestatYES
SHADEYES
About

Darryl Gove is a senior engineer in the Solaris Studio team, working on optimising applications and benchmarks for current and future processors. He is also the author of the books:
Multicore Application Programming
Solaris Application Programming
The Developer's Edge

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
5
6
8
9
10
12
13
14
15
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
The Developer's Edge
Solaris Application Programming
Publications
Webcasts
Presentations
OpenSPARC Book
Multicore Application Programming
Docs