From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_40 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 23 Oct 91 09:14:48 GMT From: pa.dec.com!hollie.rdg.dec.com!player.enet.dec.com!vanavermaet@decuac.dec. com Subject: Re: Need help linking Ada code to Fortran on VAX/VMS Message-ID: <1991Oct23.081807.14969@rdg.dec.com> List-Id: 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".