From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,814d0ec938d6e4da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-25 14:11:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!ppp-3-147.5800-11.telinco.NET!not-for-mail From: nickroberts@ukf.net (Nick Roberts) Newsgroups: comp.lang.ada Subject: Re: How to find directory where the program is? Date: Thu, 25 Apr 2002 21:11:40 GMT Message-ID: <3cc866f9.71682376@news.cis.dfn.de> References: <3CC6D15A.2070509@mail.com> <3cc73115.426446486@news.cis.dfn.de> NNTP-Posting-Host: ppp-3-147.5800-11.telinco.net (212.1.154.147) X-Trace: fu-berlin.de 1019769060 9368044 212.1.154.147 (16 [25716]) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:23121 Date: 2002-04-25T21:11:40+00:00 List-Id: On Thu, 25 Apr 2002 19:10:21 +0200, "Sergey Koshcheyev" strongly typed: >"Preben Randhol" wrote in message >news:slrnacfc16.145.randhol+abuse@kiuk0156.chembio.ntnu.no... >> On Wed, 24 Apr 2002 23:08:28 GMT, Nick Roberts wrote: >> > >> > Furthermore, one has to ask the question "why?" (Why do you wish your >> >> Basicly so that the program can find out where it's other files are like >> the help files and graphics etc... > >I believe most GPLed C/C++ programs for Unix have such paths hard-coded into >them, configured at build-time, using autoconf. You might consider that >approach too. Surely that's the exact opposite of what should be recommended! -- Nick Roberts