Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2000 18:24:18 +0000
From:      rob <europax@home.com>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: newby porter question
Message-ID:  <39DA2452.FC414C51@home.com>
References:  <39D751F0.7964C004@home.com> <39D9D5C1.2943613A@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Sobolev wrote:
> 
> rob wrote:
> 
> > I've tried porting a few Linux programs with no success.  Is there
> > somewhere a doc or tutorial showing a step by step process to get a
> > working port, esp from Linux?  I've looked at the FreeBSD porters
> > manual, but it seems to mainly be concerned with getting a port to
> > comply with the FreeBSD specs.  Thanks,  Rob.
> 
> The things your are asking for are just too generic to be described somewhere.
> In general, you have to try to get software being ported compiling/working on
> FreeBSD by replacing Linuxisms with appropriate BSDisms where necessary. The
> tools to be used include, but not limited to: your brain, man(1), make(1),
> gdb(1), gcc(1) etc. Also good knowledge of Unix programming would be very
> helpful, however its degree might vary from the task to task.
> 
> -Maxim

Thanks for replying.  One port I have tried is the Linux Synaptics touch
pad config utility.  Its pretty small, so I thought it would be a good
one to start with, but I soon realized that I would be rewriting the
utility more than just porting it, especially the 'getopt long' portion
seems to be very different in Linux compared to BSD.  Half of the code
revolves around the getopt input.  I'll eventually get around to looking
at it again.  I noticed that it was on the "to do" list for ports.  
Rob.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39DA2452.FC414C51>