From: Ken Kham <kham@maxisp.com.au>
Subject: Calling an ADA-95 function from a C program
Date: 1998/09/01
Date: 1998-09-01T00:00:00+00:00 [thread overview]
Message-ID: <35EC03D5.147AA78A@maxisp.com.au> (raw)
I am trying to call an ADA-95 function from a main C program.
Can anybody give a step by step explanation about how to do it?
including how to invoke gcc, gnatbind, gnatlink
Yes, I did look at the GNAT User guide on the section
"Binding for Non-Ada main programs"
and did not have any luck.
Basically what I want to do is:
in Main C program:
result := ada_function();
In an ADa packagge, I would have
function ada_function return integer;
next reply other threads:[~1998-09-01 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-01 0:00 Ken Kham [this message]
1998-09-02 0:00 ` Calling an ADA-95 function from a C program grave
1998-09-03 0:00 ` dewarr
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox