Solaris-to-Linux Porting Guide
Albert writes: "This article is the best guide I've seen for moving your Solaris applications over to Linux. It provides guidelines, suggestions, and resources to help deal with porting your application from Sun Solaris to Linux. You also get access to an online tool that shows how the specific APIs used by your Solaris application map to Linux. This is a great resource."
1) Buy very expensive Solaris machine.
2) Forget about Linux and use a real Unix like Solaris.
3) Have a beer or two while Linux-freak buddy screams about how Microsoft makes it so hard to install Linux on Sun boxes.
Sun's staff also recommend using GCC for your own development on Solaris, rather than using the Sun compiler.
Simple reason: GCC is far cheaper and it's sensible to make your code portable if you are not writing hardware-specific code.
The only time I would imagine that the Sun compiler would be one's choice, was if you either worked at Sun or you were OEMing some hardware driver (and needed to hook into someone else's work).