Re: Binary packages for NetBSD/m68k 3.0 w/ pkgsrc-2006Q1

"Bruce O'Neel" <[email protected]> Thu, 11 May 2006 13:43:59 +0000
Newsgroups gmane.os.netbsd.ports.amiga,gmane.os.netbsd.ports.mac68k,gmane.os.netbsd.ports.m68k,gmane.os.netbsd.ports.x68k,gmane.os.netbsd.ports.news68k,gmane.os.netbsd.ports.next68k,gmane.os.netbsd.ports.hp300,gmane.os.netbsd.ports.sun3
Message-ID <[email protected]>
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


-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org