From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Re: It's back, but the ... Date: Thu, 17 Feb 2000 10:16:00 +0200 Organization: NetVision Israel Lines: 13 Message-ID: References: <7r4q4.45719$45 DOT 2400743 AT news2 DOT rdc1 DOT on DOT home DOT com> NNTP-Posting-Host: 199.203.121.2 Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 950775541 1650 199.203.121.2 (17 Feb 2000 08:19:01 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 17 Feb 2000 08:19:01 GMT X-Sender: eliz AT is In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 16 Feb 2000, Damian Yerrick wrote: > A lightbulb goes off in my head: Change the DJGPP version of GCC so > that if it doesn't find a DJGPP environment variable, treat it as > set DJGPP=[executable's directory]/../DJGPP.ENV I think this is a good idea. Especially since some programs already do this: those which use the Kpathsea library to search for auxiliary files (TeX, dvips, and the other TeX-related programs). They define a special environment variable (called SELFAUTODIR) whose value is the directory where the program lives, and then reference various other directories relative to that one.