porting: Linux to Freebsd

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Oct 2 07:29:11 UTC 2010


On 02/10/2010 07:42:30, Chetan Shukla wrote:

> Could someone please outline the steps needed in porting a general application from
> Linux to FreeBSD.

Step 1) Spend time (probably several years) achieving a reasonable level
of expertise in the languages and concepts involved.

Step 2) During the same time, become intimately familiar with the
applicable bits of API and the general operating environment available
under FreeBSD.

Step 3) Copy distfile tarballs onto FreeBSD box, or otherwise obtain the
source code.

Step 4) Try to configure and compile the software, or otherwise do what
is needed to get the software into a usable state.

Step 5) Test it

Step 6) If it works, stop the compile/test cycle here and publish your
results, preferably by writing a new port and submitting it as described
in the Porter's handbook.

Step 7) Else generate fixes for any apparent problems.

Step 8) Goto step 4.

Perhaps you might ask a more narrowly specified question?  The answers
will likely be a lot more useful to you.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20101002/4714ef82/signature.pgp


More information about the freebsd-ports mailing list