[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hylndr::dclreview

Title:DCLREVIEW
Moderator:HYLNDR::SYSTEM
Created:Sun Apr 19 1987
Last Modified:Fri May 23 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:773
Total number of notes:5391

765.0. "FORTRAN/CLASSIC?" by QUARK::LIONEL (Free advice is worth every cent) Tue Feb 04 1997 16:32

A year ago, we introduced a new F90 verb to activate the then-new Digital
Fortran 90 compiler.  Our intention, as stated at the time, was that eventually
we would have the FORTRAN verb (which currently activates the Fortran-77 
compiler) run Fortran 90 instead, but that the F77 compiler would still be
available for those who wanted it (for a while, anyway.)

The time has come to decide how the F77 compiler will be invoked for the
next release (late this year).  The obvious candidate, FORTRAN/F77, is not
available as there already exists a /[NO]F77 qualifier that selects between
Fortran 77 and Fortran 66 semantics.  I don't want to introduce a F77 verb.

What do people think of FORTRAN/CLASSIC?  This approach is already used by
VTX.

The F90 verb would stay around for a while and would duplicate the FORTRAN
verb.

					Steve
T.RTitleUserPersonal
Name
DateLines
765.1AUSS::BELLCaritas Patiens estTue Feb 04 1997 17:549
    What about using a /VERSION=xxx qualifier?
    
    or
    
    Extending the /STANDARD qualifier to allow F66, F77, F90, etc. as
    values.
    
Peter.
    
765.2TLE::REAGANAll of this chaos makes perfect senseWed Feb 05 1997 10:4914
    Since you intend /CLASSIC to be only exist until the F77 compiler
    goes away, I don't have a real problem with it.  Does VTX/CLASSIC
    actually invoke a different image?
    
    VAX C/DEC C has CC/VAXC and CC/DECC, but I can't see a way to fit
    something like than in here.
    
    On Digital UNIX, the cc command has the -old_cc options.  How
    would FORTRAN/OLD_F77 or FORTRAN/OLD_F77_COMPILER strike you?
    
    BTW, does the current F90 verb have the /F77 qualifier?  I think
    that saying F90/F77 is pretty funny...
    
    				-John
765.3QUARK::LIONELFree advice is worth every centWed Feb 05 1997 11:0625
Re: .1

You can't switch syntaxes (invoking a different image) by using a keyword,
unfortunately.

We have /STANDARD, but that selects the type of standard checking within
the compiler, it doesn't select different compilers.  Also, people who would
want to use the "F77" compiler would not necessarily want to do standards
checking - they'd want it for the obscure features it supports.

Re: .2

Yes, VTX/CLASSIC invokes a different image (on Alpha, actually a translated
VAX image!)

I also thought about something like CC/DECC, but nothing good came to mind,
especially as we don't have "DEC" in the name anymore!

Yes, the F90 verb has a /F77 qualifier.  I agree it seems very strange, but
we had to keep compatibility with the VAX compiler syntax.

I sorta prefer /CLASSIC to /OLD_F77, but the latter does have some merit
(and doesn't conflict with an existing qualifier).  So either one would be ok?

				Steve
765.4TLE::REAGANAll of this chaos makes perfect senseWed Feb 05 1997 16:123
    Yep, either is just as good (or bad depending on your point of view).
    
    				-John
765.5What's /CLASSIC mean outside Atlanta?IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeThu Feb 06 1997 03:066
    Note that /CLASSIC (being a reference to the Coca Cola marketing
    campaign) is a culturally specific derivation that doesn't (IMHO) work
    as well outside the US. I hated the /CLASSIC when VTX used it, so I
    hope you aren't going to use that as a precedental justification!
    
    Graham (In England :-) )
765.6-oldc, not -old_ccCXXC::REPETERich Peterson 381-1802 ZKO2-3/N30Thu Feb 06 1997 10:0611
RE .2:

>  On Digital UNIX, the cc command has the -old_cc options.

Lest someone's neural pathways get wired incorrectly, the
spelling is -oldc.  This is used on Digital UNIX V4.0 onward
to invoke the ucode-based acc compiler instead of the GEM-based
DEC C compile, and before that it was used on RISC/ULTRIX to
invoke the old K&R-only C compiler with separate preprocessor and
frontend programs instead of the integrated cfe with ANSI C
support.
765.7QUARK::LIONELFree advice is worth every centFri Feb 07 1997 13:263
Thanks, Graham, for the UK perspective.  That helps a lot.

			Steve