Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 16:07:53 -0600
From:      Dave Glowacki <dglo@SSEC.WISC.EDU>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        "David O'Brien" <obrien@nuxi.com>, Brian Feldman <green@unixhelp.org>, current@freebsd.org
Subject:   Re: bmake/contrib framework for egcs 
Message-ID:  <199903122207.QAA18006@tick.ssec.wisc.edu>
In-Reply-To: Your message of "Fri, 12 Mar 1999 21:37:17 GMT." <Pine.BSF.4.05.9903122136300.35959-100000@herring.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote:
> On Fri, 12 Mar 1999, David O'Brien wrote:
> 
> > > Hmm.... environment variables?
> > 
> > That is my guess.. but I don't know an easy way to printout the entire
> > environtment a program sees.
> 
> How about hacking cpp so that it does 'system("env > /tmp/somefile")' as
> the first thing.

I like to move the executable to 'cpp.bin' then create a shell script
name 'cpp' that does something like:

	env > /tmp/cpp-env.$$
	exec cpp.bin "$@"

You can even have it start 'gdb' from within the script, if you really
want to...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903122207.QAA18006>