Xref: utzoo comp.unix.wizards:8402 comp.sources.d:2084 Path: utzoo!utgpu!water!watmath!watdcsu!dmcanzi From: dmcanzi@watdcsu.waterloo.edu (David Canzi) Newsgroups: comp.unix.wizards,comp.sources.d Subject: Re: Finding where an executable was run from -- a proposal. Message-ID: <4687@watdcsu.waterloo.edu> Date: 13 May 88 03:41:59 GMT References: <67@uvaarpa.virginia.edu> <6800012@cpe> <4527@hoptoad.uucp> Reply-To: dmcanzi@watdcsu.waterloo.edu (David Canzi) Organization: U. of Waterloo, Ontario Lines: 15 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