Finding where an executable was run from -- a proposal.

David Canzi dmcanzi at watdcsu.waterloo.edu
Fri May 13 13:41:59 AEST 1988


How about if binary software was routinely distributed as (1) a library
containing most of the compiled code, (2) a short C source program in
which configurable information is compiled as external variables, and
(3) a makefile which can be edited to define the configurable options
by compiling the C source file with suitable "-D" options.  (Or perhaps
it would be simpler to edit the C source file directly.)

This way, if the program as distributed searches for config and data
files under /usr/lib/thingumbob, and you would rather install these
files under /usr/local/lib/thingumbob, you'd have that option.

And there will be no need to add another feature to the kernel.

-- 
David Canzi



More information about the Comp.unix.wizards mailing list