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 majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to