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

HCorte hmmbcorte at gmail.com
Fri Aug 14 11:01:34 EDT 2020


sexta-feira, 14 de Agosto de 2020 às 15:48:29 UTC+1, Arne Vajhøj escreveu:
> 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

Tanks Arne for the feedback, 

The why not compile everthing with debug is that some of the dependecies may be in use by other programs and don't know whant would be implications if there would be any... but know that you asked you are right the other programs were compile and linked without the /DEBUG flag at the time so it wouldn't interfere now.



More information about the Info-vax mailing list