Patch to remove putenv definition from gcc.c

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Mar 27 16:27:00 GMT 2001


>  > The last change will cause further VMS breakage.  The libiberty
>  > version of putenv isn't suitable for VMS.  The putenv defined in
>  > gcc.c was a nop for VMS and this behavior is lost with your patch.
>  > Dave
> 
> The alpha/xm-vms.h port hardcodes #define HAVE_PUTENV, so as currently
> written, gcc.c won't define putenv() at all.  Somehow its already
> working there without the NOP.

I am not convinced that the alpha version is still functional.  However,
it looks like HAVE_PUTENV should be defined in vax/xm-vms.h.  I will try
to find out whether putenv is available tomorrow.

> My understanding from previous posts is that the vax vms port is
> broken and whoever wants to resurrect it will have to start with the
> alpha one (or from scratch) anyway.

As a general comment on this subject, the vax backend is functional
again for ultrix and bsd4.4.  Thus, I don't believe that the problems
in resurrecting the vax vms port would be very major if the alpha
port works.

> With this in mind, do you still object?

Not if vax vms C has putenv.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-patches mailing list