On 06/14/2014 07:44 PM, John E. Malmberg wrote:
globalvalue is visible in /STANDARD=VAXC and /STANDARD=RELAXED which is
the default. Is that what you refer to as 'ANSI compatible VMS
extension'? The default gives at least fair diagnostics for VAXC
problems. At the moment gnu make is compiled either without a standard
switch or the /STANDARD=RELAXED, but with
/WARNING=(DISABLE=QUESTCOMPARE). In stricter modes you can use something
like
#include <stdio.h>
extern unsigned int LBR$_HDRTRUNC;
int main (void) {
printf ("LBR$_HDRTRUNC: %%x%08x\n", &LBR$_HDRTRUNC);
}
I will look at doing that in a future patch. It appears that the
UNIVERSAL qualifier is ignored by non-VAX, so is not causing a problem.
Like "%LINK-I-OPTIGNALPHA, UNIVERSAL option ignored; not allowed for AXP
images" but
%ILINK-F-OPTSYNERR, syntax error in options file ...
-ILINK-E-OPTLIN, options line in error
'UNIVERSAL'=MAIN
I didn't try the tests on I64, but the -F should trigger something.