comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Calling Ada (GNAT) from C programs...
Date: 1996/04/01
Date: 1996-04-01T00:00:00+00:00	[thread overview]
Message-ID: <dewar.828399362@schonberg> (raw)
In-Reply-To: 4joddr$32jc@info4.rus.uni-stuttgart.de

Michael says

"The easiest way to deal with that problem is to put all .o files from
adalib into an archive, e.g. libgnat-rtl.a and then link your programs
with -lgnat-rtl -lgnat in addition to your own object code (assuming
that these libs are in your library search path). I always wonder why
this is not the normal procedure of gnat anyway."

That is indeed a good idea, but not quite trivial. For example, if
you do this, you will find that pragma Queuing_Policy is a problem.
On SGI and Linux, we do use shared librarie for the runtime, and we
expect to do this on other targets later on.





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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-27  0:00 Calling Ada (GNAT) from C programs David Weller
1996-03-30  0:00 ` Gerd Moellmann
1996-03-30  0:00   ` David Weller
1996-04-01  0:00 ` michael
1996-04-01  0:00   ` Robert Dewar [this message]
replies disabled

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