Saturday, August 15, 2009

Include Machinations

For several releases I've want to make a radical change to how machine-specific include files are handed in NetBSD. Currently grabs files of the platform by following the symbolic that points to the platform specific directory (pmax, mac68k, macppc, shark) instead of the architecture specific directory (mips, m68k, powerpc, arm).

This has two advantages: the first is that would look identical to all platforms of that architecture; the second is that existing includes that just do #include can go away since they are no longer needed.

The disadvantage is that files that are platform specific like would need to be truly made platform independent which wouldn't be a bad thing.

1 comment:

  1. The other problem is weeding out all of the needless MACHINE-specific behavior changes and binaries. Doing that would be a good first step.

    ReplyDelete