From: hattonps@bham.ac.uk (PS Hatton)
Subject: Re: Calling FORTRAN from cxx
Date: 1996/06/19 [thread overview]
Message-ID: <4q8j7p$g6j@sun4.bham.ac.uk> (raw)
In-Reply-To: 31C01EAC.41C6@bham.ac.uk
Thanks to all who replied - the C linkage works for FORTRAN as well.
PS Hatton (P.S.Hatton@bham.ac.uk) wrote:
: Is it possible to call a FORTRAN (77 or 90) routine from cxx? Section
: 2.3.13 of 'Using DEC C++ for DEC OSF/1 Systems' says that
: 'Specifying linkage other than "C++" or "C" generates a compile-
: time error' (which it does)
: which would imply not, and not specifying anything on the extern
: statement in the calling C++ code generates a linker error. Calling
: FORTRAN from C, as per the Fortran manuals, works fine.
: This has been asked by one of our users, and I'm no C++ expert, so
: any help would be appreciated.
prev parent reply other threads:[~1996-06-19 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-13 4:00 Calling FORTRAN from cxx PS Hatton
1996-06-17 4:00 ` Steve Lionel
1996-06-19 4:00 ` PS Hatton [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox