comp.lang.ada
 help / color / mirror / Atom feed
From: KKEYTE@ESOC.BITNET (Karl Keyte)
Subject: Re: Calling Ada routines from C programs.
Date: 18 Feb 91 16:14:24 GMT	[thread overview]
Message-ID: <91049.164842KKEYTE@ESOC.BITNET> (raw)
In-Reply-To: jls.666836617@yoda

The problem with trying to call Ada routines from another language is that
quite frequently the Ada system requires its complete environment in order
to function.  This prevents single routines being called.  A common way
out it to wrap the entire system, say a C program, as an Ada main program
which simply calls the C '_main' in order to start it.  This then allows
the 'C' to call Ada services.

Karl

  reply	other threads:[~1991-02-18 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-02-15 18:14 Calling Ada routines from C programs Mark Culp
1991-02-18  0:23 ` Jim Showalter
1991-02-18 16:14   ` Karl Keyte [this message]
1991-02-19 15:05     ` David Emery
1991-02-19 19:37       ` Bruce Bauman
replies disabled

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