Subject: Re: Binary packages for NetBSD/m68k 3.0 w/ pkgsrc-2006Q1
To: Greg Oster <oster@cs.usask.ca>
From: Bruce O'Neel <edoneel@sdf.lonestar.org>
List: port-hp300
Date: 05/11/2006 13:43:59
Hi,
On Thu, May 11, 2006 at 07:29:31AM -0600, Greg Oster wrote:
> > Packages for 2.1 would be useful for this reason too.
> >
> > Is there anything special required to build generic m68k packages as
> > opposed to mac68k/amiga/next68k/etc packages?
>
> Nope.
>
There might be a misconception here. Once you are running NetBSD on machine X
and you don't depend on hardware specific features of machine X, the same binary
(not kernel, binaries such as ls, mv, less, xemacs) will run on machine Y
assuming that they have the same CPU (basically).
This means that a binary built on the amiga will run fine on the 68k macs.
A binary built on a PPC prep machine will run fine on a PowerMac, etc.
If you tell the compiler that you are going to build for the 68040 for example
then it only will work on the other systems with an 040, not with a 030.
cheers
bruce
--
edoneel@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org