comp.lang.ada
 help / color / mirror / Atom feed
From: Vance Christiaanse <cintech@ix.netcom.com>
Subject: Calling GNAT Ada 95 from C
Date: 1996/04/09
Date: 1996-04-09T17:37:43-07:00	[thread overview]
Message-ID: <316ACAF2.5488@ix.netcom.com> (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




             reply	other threads:[~1996-04-09  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-09  0:00 Vance Christiaanse [this message]
1996-04-10  0:00 ` Calling GNAT Ada 95 from C Robert Dewar
1996-04-10  0:00 ` David Weller
replies disabled

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