From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP ? Date: Tue, 27 May 1997 22:08:51 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 21 Message-ID: <338B5B73.1E89@cs.com> References: <199705272157 DOT AA261540224 AT typhoon DOT rose DOT hp DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp219.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andrew Crabtree wrote: > > Does anyone know offhand where the support for the > > set DJGPP=...djgpp.env > > is in the gcc code? I don't want anyone to spend time on it > (i've done a grep for it in the source already), just > if you could narrow my search to a few files. It's in src/libc/crt0/c1loadef.c: the __crt0_load_environment_file() function. All it does is a getenv on "DJGPP" and then processes the indicated file. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------