comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Ada calling Fortran or Assembly
Date: 1999/06/04
Date: 1999-06-04T00:00:00+00:00	[thread overview]
Message-ID: <7j8te5$gmf$1@nnrp1.deja.com> (raw)
In-Reply-To: ZER53.2383$Xr4.20175@c01read02-admin.service.talkway.com

In article <ZER53.2383$Xr4.20175@c01read02-admin.service.talkway.com>,
  "pit_viper_2000" <pit_viper_2000@hotmail.com> wrote:
> Anyone know how to link in Fortran from Ada?  I have about 3,000 lines
> of Fortran code that does lots of stuff with some numbers I read in
> from a serial port...I don't want to have to rewrite the whole thing
in
> Ada...I'd rather just make calls to the Fortran subroutines.  I know
to
> do some pragma Imports and pragma Linker_Options, but I don't know
what
> exact files to link in with the Linker_Options...nor do I know the
> order to link them in.  I was told the order matters.

This is probably quite doable, but it is a highly system dependent
thing. There's no way anyone can give you an answer unless you specify
what platform/OS you are using, and what Ada and C compilers you are
using.

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




  reply	other threads:[~1999-06-04  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-04  0:00 Ada calling Fortran or Assembly pit_viper_2000
1999-06-04  0:00 ` dennison [this message]
1999-06-04  0:00   ` pit_viper_2000
1999-06-04  0:00     ` David C. Hoos, Sr.
1999-06-04  0:00     ` dennison
replies disabled

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