Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2010 14:26:59 +0200
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Cc:        Chetan Shukla <chetan.shukla@aricent.com>
Subject:   Re: porting: Linux to Freebsd
Message-ID:  <AANLkTinOzT7_NXL=BL21u_MunwYfOhLB9bDG0z-0oiaJ@mail.gmail.com>
In-Reply-To: <4CA6DF34.5080301@infracaninophile.co.uk>
References:  <DF735188ED91BD458FA0E0C17929339F9553CA27@GUREXMB01.ASIAN.AD.ARICENT.COM> <4CA6DF34.5080301@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Or you could simply start at step 3, then for every problem you have in step
4, Google it. For the problems you cannot fix that way, ask (smart)
questions on the appropriate FreeBSD mailing lists, until the application
compiles. Then continue to step 5.

Note: the learning curve will be steep, take the time needed to make it.

On Sat, Oct 2, 2010 at 9:28 AM, Matthew Seaman <
m.seaman@infracaninophile.co.uk> wrote:

> 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@infracaninophile.co.uk               Kent, CT11 9PW
>
>


-- 
mvh
Torfinn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinOzT7_NXL=BL21u_MunwYfOhLB9bDG0z-0oiaJ>