User Tools

Site Tools


porting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
porting [2011/02/14 11:39]
50.16.205.113 nzOZVhZzEAeLlNiOt
porting [2011/09/30 08:08] (current)
192.89.97.1
Line 1: Line 1:
-b03a0N ​ <href="​http://​edumqtslskjn.com/">​edumqtslskjn</​a>[url=http://jpvtuoydjhqm.com/]jpvtuoydjhqm[/url][link=http://sajkecgnhqgg.com/]sajkecgnhqgg[/link]http://pnptwmvvfzcn.com/+====== Porting from other OS's ====== 
 + 
 +===== Common pitfalls ===== 
 + 
 +  * Lack of memory protection. 
 + 
 +=== Non-ixemul software === 
 + 
 +When porting non-ixemul software check file system paths and path handling. Often *nix path handling is used what is incompatible with Amiga path handling. 
 + 
 +===== Porting from Linux ===== 
 + 
 +==== Cross compiling ==== 
 + 
 +==== Getting ​Linux like build environment ​==== 
 + 
 +AOS4 SDK and AROS SDKs has a Bash port and a set of Unix like commands, but there will be some issues with expected paths etc. 
 + 
 + * Setting up GeekGadgets 
 + 
 +=== MorphOS === 
 + 
 +MorphOS SDK provides GeekGadgets development environment including Bash port and required build tools (automake etc.). To port software you usually start by running configure script from MorphOS shell and then executing make. 
 + 
 +==== Fixing the makefiles ==== 
 + 
 +==== Dealing with GNU Autotools ==== 
 + 
 +==== ixemul ==== 
 + 
 +Ixemul is convenient method to port development tools from Linux. Using ixemul is not recommended for user applications and ixemul software is always intended to be used in GeekGadgets environment. 
 + 
 +==== pthreads ==== 
 + 
 +AOS4 has partial(?) pthread implementation. For older AOSand for AROS you need to wrap the Amiga specific calls yourself (is this correct?). MorphOS provides pthreads implementation but using native Amiga API is recommended as pthreads can not be securely implemented on Amiga. 
 + 
 +==== AmiCygnix ==== 
 + 
 +==== Links ==== 
 + 
 +  * [[http://aros.sourceforge.net/documentation/developers/​porting.php|Guide for porting to AROS]
 +  * [[http://aros.sourceforge.net/documentation/developers/​app-dev/​index.php|AROS Application Development Manual]] - A lot of this is also applicable to AmigaOS 
 +  * [[http://sditools.cvs.sourceforge.net/viewvc/​sditools/​sditools/​|SDITools]] Code to hide OS and compiler differences on the various Amiga-like platforms. 
 + 
porting.1297683577.txt.gz · Last modified: 2011/02/14 11:39 (external edit)