Darryl Gove's blog
Tying the bell on the cat
Diane Meirowitz has finally written the document that many of us have either thought about writing, or wished that someone had already written. This is the document that maps gcc compiler flags to Sun Studio compiler flags.
Posted at 01:07PM Jan 28, 2009 by Darryl Gove in Sun |
Job available in this performance analysis team
We're advertising a job opening in this group. We're looking for someone who's keen on doing performance analysis on x86 and SPARC platforms. The req number is 561456, and you can read the details on sun.com. If you have any questions, please do feel free to contact me.
Posted at 03:05PM Nov 04, 2008 by Darryl Gove in Sun |
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.
Posted at 12:11PM Jul 31, 2008 by Darryl Gove in Sun | Comments[2]
Hot topics presentation: "Compilers, Tools, and Performance"
Just put together the slides for tomorrow's presentation: "Compilers, Tools, and Performance". One of my colleagues has kindly agreed to translate the presentation into Japanese, so I don't expect to get much material into half an hour, since we'll be sharing the time.
Posted at 06:33AM Jul 24, 2008 by Darryl Gove in Sun |
static and inline functions
Hit a problem when compiling a library. The problem is with mixing static and inline functions, which is not allowed by the standard, but is allowed by gcc. Example code looks like:
char * c;
static void foo(char *);
inline void work()
{
foo(c);
}
void foo(char* c)
{
}
When this code is compiled it generates the following error:
% cc s.c "s.c", line 7: reference to static identifier "foo" in extern inline function cc: acomp failed for s.c
It turns out that there is a workaround for this problem, which is the flag -features=no%extinl. Douglas Walls describes the issue in much more detail.
Posted at 10:03AM Apr 28, 2008 by Darryl Gove in Sun |
GCC for SPARC Systems 4.0.4 released
Latest version of GCC for SPARC Systems available.
Posted at 12:39PM Jun 15, 2007 by Darryl Gove in Sun |


