comp.lang.ada
 help / color / mirror / Atom feed
* Calling GNAT Ada 95 from C
@ 1996-04-09  0:00 Vance Christiaanse
  1996-04-10  0:00 ` David Weller
  1996-04-10  0:00 ` Robert Dewar
  0 siblings, 2 replies; 3+ messages in thread
From: Vance Christiaanse @ 1996-04-09  0:00 UTC (permalink / raw)


In an earlier thread, we learned that

gnatbind -n my_ada.ali
gnatbl -linkonly my_ada.ali my_c.o

would link a C main that called Ada code in a GNAT environment.
It worked for me until I threw a task into my Ada code.  Then
I got an undefined symbol, "__priority_main" I think it was.

Is it possible with GNAT for a C main to call Ada code that
includes a task?  If so, could someone please tell me how to
do it?  Thanks in advance.  I tried several things but could
not get it to work.

Vance Christiaanse
cintech@ix.netcom.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-04-10  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-09  0:00 Calling GNAT Ada 95 from C Vance Christiaanse
1996-04-10  0:00 ` David Weller
1996-04-10  0:00 ` Robert Dewar

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