comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Mixed Ada and C program
Date: Mon, 11 Jun 2001 10:44:07 -0400
Date: 2001-06-11T14:44:12+00:00	[thread overview]
Message-ID: <9g2lfs$oen$1@nh.pace.co.uk> (raw)
In-Reply-To: rF4V6.895$j6.75257@news

First off, how C calls Ada is not Ada's problem. It is C's problem and can
only ultimately be answered by the C compiler. Second off, there are ways of
exporting Ada code that make it accessible to other languages, but there are
likely to be some implementation specifics to go with it. (We can make Ada
look to C as if it were C, but there may be problems depending on the two
specific compilers used.) If you post the specifics of your platform,
someone here will probably be able to give you an answer. State the Ada
compiler/version, the C compiler/version the hardware and OS platform.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Joelle Lavergne" <jlavergne@drs.ca> wrote in message
news:rF4V6.895$j6.75257@news...
> Hello I am pretty new to the Ada world.
>
> I need to build an application using Ada and C. The main application is in
> Ada but I need to import C function to Ada and export Ada procedures to C.
> My problem is when exporting my Ada procedure to C.
>
> Could anybody give me some info on how to call this Ada procedure from C ?
>
> Thanks
>
>





  reply	other threads:[~2001-06-11 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 14:33 Mixed Ada and C program Joelle Lavergne
2001-06-11 14:44 ` Marin David Condic [this message]
2001-06-11 15:03 ` Joelle Lavergne
2001-06-11 15:19   ` Ted Dennison
2001-06-12  2:40   ` DuckE
2001-06-11 15:10 ` Ted 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