[Info-vax] fortran version && Compile the main file in debug mode only

Arne Vajhøj arne at vajhoej.dk
Fri Aug 14 10:48:22 EDT 2020


On 8/14/2020 10:26 AM, HCorte wrote:
> Run the follow dcl command in my openvms:
> 
>> $FORTRAN /VERSION
> HP Fortran V8.2-104939-50H96
> 
> And found in https://support.hpe.com/hpesc/public/docDisplay?docId=pdbVSI_I641471363815788&docLocale=en_US:
> The image identification string for the Fortran 95 compiler
>                is V8.2-104939-50H96.
> 
> So for this version V8.2-104939-50H96 means that its using fortran 95 compiler?

I believe all VMS Fortran has supported Fortran 90 or 95 since more than
20 years ago.

> ------------------------------------------
> How to compile only one file in debug mode and all of its dependencies normal mode for example:
> 
> INVENTORY as dependencie of ITEM
> 
> would this work??
> $ FORTRAN/DEBUG/NOOPTIMIZE INVENTORY
> $ LINK/DEBUG INVENTORY
> 
> instead of $ FORTRAN/DEBUG/NOOPTIMIZE INVENTORY,ITEM
> $ LINK/DEBUG INVENTORY,ITEM

$ FOR X
$ FOR/DEB/NOOP Y
$ LINK/DEB X,Y

should work.

But why not just compile everything with debug if you want to debug?

Arne





More information about the Info-vax mailing list