Patch to remove putenv definition from gcc.c

Zack Weinberg zackw@Stanford.EDU
Wed Mar 28 14:16:00 GMT 2001


On Wed, Mar 28, 2001 at 04:30:16PM -0500, John David Anglin wrote:
> > Doesn't this mean that collect2 won't work properly with older VAX C?
> 
> It looks like it would not be possible to pass options, etc, to collect.
> Thus, it would only run with its defualts.

There was talk of revising collect2's interface so it didn't use
environment variables anymore.  If that ever happens, we wouldn't need
putenv from gcc.c.

...
> > I see code in perl5.6 that could probably be stolen (vmssetenv in
> > vms.c), although it does not make a whole lot of sense to me...
> 
> Neither to me.  It looks like it creates new logical names in the
> process table.  I see that perl also replaces getenv.
> 
> Your suggestion is a good one but it needs VMS testing to validate.
> Any volunteers?

Won't be me.  And VAX/VMS testers will probably have lots more trouble
than just this...

zw



More information about the Gcc-patches mailing list