Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Moving VAX into 21 century :-)



On 2019-08-28 19:00, John Wilson wrote:
REALLY dumb question:  does GCC run on VMS?  Definitely want to keep the
usual calling convention around as an option if so.

It has run in the past, but I have a suspicion that gcc haven't supported VAX on VMS for quite a while...

Also:  agree about not needing a FP, other than as a convenience for
debugging.  Even Small-C (the only compiler I ever truly understood)
got that right -- at any point you always know how much you've messed up
the SP, and [original] K&R pretty much explicitly says that the only thing
a "goto" into a block (from above) promises to do is fix the SP to where it
would have been if you'd gotten there honestly (initializers be damned).
Which sounds like it's saying the exact same thing.

Well, if you want to walk up the stack, it might not at all be obvious what is the stack frame of your callers caller...
But yes, that is about debugging in a sense.

  Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index