comp.lang.ada
 help / color / mirror / Atom feed
From: Christopher Dahnken <dahnken@gmx.net>
To: sam@rfc1149.net
Subject: Re: Fortran calling Ada
Date: Thu, 10 Apr 2003 16:22:17 +0200
Date: 2003-04-10T16:22:17+02:00	[thread overview]
Message-ID: <3e957e19@uni-wuerzburg.de> (raw)
In-Reply-To: 87znn0j97f.fsf@inf.enst.fr

<posted & mailed>

Samuel Tardieu wrote:

>>>>>> "Gerd" == Gerd Reger <Gerd.Reger@astrium-space.com> writes:
> 
> Gerd> I try to compile a Fortran main program which is calling an Ada
> Gerd> procedure with the follwing commands:
> 
> Gerd> [...]
> Gerd> gnatlink -C lm -lg2c -o test *.ali *.o
> 
> Gerd> I'm not able to link.
> 
> You need to press the return key at the end of the gnatlink
> line. Seriously, if you don't give the error ("not able to link" can
> be anything), your chances of getting a meaningful answer are small.
> 
>   Sam

Right. Fortran also likes to be called with an underscore in front or behind 
the function name (depends) in an other language, e.g. C. The error message
would help ...

        Chris



  reply	other threads:[~2003-04-10 14:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09  8:12 Fortran calling Ada Gerd Reger
2003-04-09  9:45 ` Samuel Tardieu
2003-04-10 14:22   ` Christopher Dahnken [this message]
2003-04-10 13:34 ` Dr. Michael Paus
replies disabled

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