comp.lang.ada
 help / color / mirror / Atom feed
From: pa.dec.com!hollie.rdg.dec.com!player.enet.dec.com!vanavermaet@decuac.dec.
Subject: Re: Need help linking Ada code to Fortran on VAX/VMS
Date: 23 Oct 91 09:14:48 GMT	[thread overview]
Message-ID: <1991Oct23.081807.14969@rdg.dec.com> (raw)

In article <39088@hydra.gatech.EDU>, pw2@prism.gatech.EDU (WEST, PHILIP D) writ
es...
>I have a large Ada program that I need to link with a large FORTRAN program.
>It will be best if the FORTRAN program calls the Ada program, passing only
>a few variables.  The Ada program, when done, needs to return a few values
>back to the FORTRAN program.  This all needs to be done under VMS with the 
>DEC fortran and Ada compilers.
> 
>I have looked through the mixed language section of the VAX ada manuals, but
>they mainly discuss linking other codes into your Ada code, the converse of
>my problem.

The VAX/VMS calling standard puts the burden on the calling program.

Have a look at the VAX Fortran User Manual, section 6.2 "Argument-Passing
Mechanisms".

             reply	other threads:[~1991-10-23  9:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-10-23  9:14 pa.dec.com!hollie.rdg.dec.com!player.enet.dec.com!vanavermaet [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-10-22 13:13 Need help linking Ada code to Fortran on VAX/VMS WEST, PHILIP D
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox