From: Geert Bosch <geert@act-europe.fr>
Subject: Re: Calling Ada proceedures from a C program
Date: 1999/05/20
Date: 1999-05-20T21:45:06+00:00 [thread overview]
Message-ID: <3744831D.2D5E87F6@act-europe.fr> (raw)
In-Reply-To: 7i1o7l$d3j@hobbes.crc.com
"David C. Hoos, Sr." wrote:
> >I have a linking/binding question. I'm trying to call an Ada proc.
> >from a C program. Something like...
> Before anyone can help, you need to specify at least the compiler
> you're using, as the procedure is compiler-dependent.
This is not totally correct. The general mechanism, including
initialization and finalization is standardized in Ada95. Look in
the RM for pragma Export (C, ...), "adainit", "adafinal". Annex B is
the place to look for most of the information. On the details for
compilation commands you'd have to read your compiler's documentation.
Regards,
Geert
next prev parent reply other threads:[~1999-05-20 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-20 0:00 Calling Ada proceedures from a C program Jason LaPenta
1999-05-20 0:00 ` David C. Hoos, Sr.
1999-05-20 0:00 ` Geert Bosch [this message]
1999-05-21 0:00 ` Keith Thompson
1999-05-20 0:00 ` Compilier Im' using Jason LaPenta
1999-05-21 0:00 ` Robert Dewar
1999-05-20 0:00 ` Calling Ada proceedures from a C program Gautier
1999-06-09 0:00 ` rekennedy
1999-06-09 0:00 ` Robert Dewar
1999-06-10 0:00 ` David Kristola
1999-06-11 0:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox