Subject: Re:
To: Matt Thomas <matt@3am-software.com>
From: Chris G. Demetriou <cgd@sibyte.com>
List: tech-kern
Date: 08/15/2000 20:27:14
matt@3am-software.com (Matt Thomas) writes:
> >What about binaries that are in one machine and not the other, calling
> >ioctls for hardware that is only available in one or a few of the machines
> >in an arch? (e.g., some stuff used by Xamiga).
> 
> The ioctls will fail.  But the user land will be identical whether the build
> was done on mac68k or amiga or ...

well, to be more specific about how to do this, for many programs:

* abstract the code so that it can be split into machine-independent
and machine-independent files, with a function switch, if necessary

* provide machine-dependent files which include the necessary md
headers.


not rocket scientific...



cgd