Subject: Testing executables across all m68k ports
To: None <>
From: Gordon W. Ross <>
List: current-users
Date: 07/18/1994 14:57:29
> From:
> Date: Mon, 18 Jul 1994 11:57:50 -0500 (CDT)

> 	I'm curious:
> 	Since the m68k port has 4 implementations, hp300, Amiga, Mac and Sun 3,
> 	has anybody checked to see if executables created on one will work
> 	on the other 3?

Yes to some extent.  Amiga and Sun3 (and Mac68k?) are m68k8k
(8k page size) and hp300 is m68k4k (4k page size).

The Sun3 runs Amiga binaries very nicely.  Thanks to Chris Hopps,
I don't have to build many Sun3 user programs.  Nice eh?

> 	That would be quite a feather in the NetBSD cap if it really does
> 	work! Especially if things like X clients could be swapped back
> 	and forth! In theory all executables except X servers should be
> 	exchangable between the above 4 implementations yes?
> 		Just wondering,

I too have wondered:  would m68k4k executables work on an m68k8k arch?
And the other way too?  What would break?  (maybe mmap code?)

Theoretically, things that call pagesize() instead of hard-coding it
should be able to run on machines with varying page sizes (like SunOS).

Gordon Ross