Linux Today: Linux News On Internet Time.

IBM developerWorks: Porting applications from Solaris to Linux

Mar 06, 2002, 18:56 (16 Talkback[s])

[ 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

Related Stories: