This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to remove putenv definition from gcc.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]