[DGD]Auto object

Stephen Schmidt schmidsj at union.edu
Thu May 10 22:30:53 CEST 2001


Question: If one is writing a system to run over the kernel lib,
and one wants a program to be inherited by every object in the
system (ie, everything in /usr/System, or perhaps better, everything
in /usr), how does one do that?

The obvious answer is to do inherit "/usr/System/lib/foobar"
in every file in /usr/System, but that seems klunky. Another
obvious answer is to find /kernel/lib/auto.c and add to it
#include "/usr/System/lib/foobar.c" but that includes it in
all the kernel files too, which is Bad, and also requires
modifying the kernel, which is Very Bad.

Anyone got a better solution?

Steve








List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list