The default compilers are nowhere near as bad, but even then, if you're not running a binary gcc, you're just asking for trouble.
It's pretty hard to find a platform for which you can't find a pre-compiled gcc. This was not always the case.
It's pretty hard to find a platform for which you can't find a pre-compiled gcc. This was not always the case.
Nowadays pretty much everyone has access to a Windows or Linux PC, or an OS X Mac, and so has ready access to good compilers. The way you'd handle that Sun nowadays is to build a cross compiler for Sun on your Windows or Linux PC or your Mac, and then use that to build the compiler for your Sun.