---

IBM developerWorks: Porting applications from Solaris to Linux

[ Thanks to Frank for
this link. ]

Solaris and Linux are loosely related to Unix, so they
ought to be a lot alike, right? Not so – the differences pose a
great many ‘gotchas.’ Let this technical porting guide show you the
ropes for porting your Solaris application to the Linux platform.

Porting overview

The porting process itself is reasonably simple:

1. Clean up the code and header files and remove architectural
dependencies and nonstandard practices.
2. Compile the code and fix problems found during compile time.
3. Fix segment faults and unaligned accesses, if necessary.
4. Recompile the code and repeat the above process, if
necessary.


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis