Skip site navigation (1)Skip section navigation (2)
Date:      25 Jun 2002 12:55:44 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        Gavin Kenny <gavinkenny@yahoo.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: Porting Tips
Message-ID:  <1025002544.677.25.camel@martin.kleinerdrache.org>
In-Reply-To: <20020625104100.72418.qmail@web20003.mail.yahoo.com>
References:  <20020625104100.72418.qmail@web20003.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Di, 2002-06-25 um 12.41 schrieb Gavin Kenny:
>  --- Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
> wrote: > Am Di, 2002-06-25 um 11.23 schrieb Gavin
> Kenny:
> > > Hi Guys,
> > > 
> > > I'm going to have a go at porting the VideoLan
> > Server
> > > to FreeBSD. It was written for Linux and there is
> > a
> > > Darwin (Mac OS) port, so I'm kinda hoping it
> > shouldn't
> > > be too hard (famous last words).
> > > 
> > > I never written anything for FreeBSD, so what
> > should I
> > > look out for? Any good pointers, tips, different
> > > naming conventions for libraries etc or better
> > still
> > > HOW-TO's, would be really useful.
> > 
> > Do you know the Porters Handbook?
> > 
> >
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
> > 
> > Martin
> > 
> > --
> 
> I have had a look at it but it seems more concerned in
> building a FreeBSD Port (a fantastic invention by the
> way ;-) rather than how to take a piece of software
> that was written for Linux (or any other operating
> system) and getting it to compile and run on FreeBSD.
> Am I being naive?

Oh, sorry, ...

Ok, there is not really a simple way to port software to other
platforms.  If your programm is written in a way to port for
multiplatforms, you may just have to find any config.h file or edit the
Makefile.  That should work for you.  In that case a Programm is really
simply written for linux, you have to take the whole programm und try
and try to make it compile and run under freebsd.  Than do the
patches...  Sometimes it's a really hard work...

Martin

-- 
     Virtuelle Jugendarbeit auf http://create.kleinerdrache.org
            ...  bald kommt ein neues Layout  ...


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




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