Messages in this thread | | | Subject | Re: linux/version.h (and friends) in /proc | Date | Thu, 28 Mar 1996 07:31:58 +0000 (GMT) | From | LeBlanc@mcc ... |
| |
> > This may have been proposed earlier, but couldn't this be solved by the > > kernel exporting `/proc/version.h', and libc could put a symlink to > > that; whereas the kernel builds use `src/linux/include/version.h'. > > That's not a bad idea.
Actually, it's a terrible idea. This still keeps the dependency of ordinary C compilations on the particular version of the kernel under which they are compiled, which is the main objection to the inclusion if version.h in other compilations. Except in cases in which the compiled software has an essential need to know the kernel version (e.g., for modules, for utilities which change what they do depending on kernel version, etc.), version.h should not be included at all.
-- Owen LeBlanc@mcc.ac.uk
| |