*BSD News Article 54774


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!news.rrz.uni-hamburg.de!news.Hanse.DE!wavehh.hanse.de!cracauer
From: cracauer@wavehh.hanse.de (Martin Cracauer)
Subject: Re: netbsd <-> freebsd
Message-ID: <1995Nov8.110835.27860@wavehh.hanse.de>
Organization: BSD User Group Hamburg
References: <Pine.SOL.3.91.951107084739.8439A-100000@mail>
Date: Wed, 8 Nov 95 11:08:35 GMT
Lines: 31

"Jim Spath (Webmaster Jim)" <jspath@mail.bcpl.lib.md.us> writes:

>I just got a home machine with a 2842 adaptec controller, so I ordered
>the FreeBSD 2.0.5 CDs.  I've run 386BSD 0.1 and NetBSD 0.9-1.0A on my
>work machine.  I want to know any tips for porting code and binaries
>between NetBSD and FreeBSD.  I assume that the binary formats have
>diverged so that newer code will fail on the other platform.  I have
>built a bunch of X clients as well as command line programs such as
>Kermit.  Thanks!

You'll have to expect to have problems at least with shared libraries
and therefore with every dynamically linked program and therefore
probably with every program you compiled. There are also a number of
gotchas in source compatiblity such as packages with predefined
support for NetBSD, but not for FreeBSD-2.0.5.

Please note that NetBSD-current (and therefore NetBSD-1.1) has a
driver for the 2940, which has the same chip as the 2842, so the
latter should work. I suggest you get NetBSD-1.1_ALPHA/i386 and try
it. If it doesn't work, ask <netbsd-help@netbsd.org>, they are
probably highly interested to make it work for 1.1, in case it
doesn't. 

Let me say that buying a new VLB adaptec is not really wise, looking
at the prices of new PCI mainboards with NCR 810 SCSI.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>  -  Fax +49 40 522 85 36
 BSD User Group Hamburg, Germany - See http://www.{net,free}bsd.org
 Copyright 1995. Redistribution via Microsoft Network is prohibited