John E. Malmberg wrote:
I do not know if the pragma for the assert would be valid for anything other than __DECC compiler
Ah, I see. Still, I'm leery of pragmas, as I have the sneaking suspicion that they can hurt even when inside an #else that is skipped, due to problems in parsing them on non-VMS platforms. So if we can do without the pragma I'd prefer that.
The autoconfig/automake tools do not work yet on VMS.
That's OK, they don't need to. You can run them on GNU/Linux, and then run the resulting 'configure' script on VMS, once you get the shell working.
We do not use Configure scripts for building Bash, Coreutils, gawk, sed, and the make fork, as we need to build at least these first to get the configure scripts to run.
Once you get them running they should be self-supporting. In the meantime you can just use -D_USE_STD_STAT systematically in your compiler switches. The Gnulib source code generally does not worry about development platforms that don't have a working shell, as that's too far away from the intended porting target.