comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Ada Shared Libray on Linux
Date: 26 Jun 2001 21:17:36 +0200
Date: 2001-06-26T21:17:36+02:00	[thread overview]
Message-ID: <871yo7dp9r.fsf@deneb.enyo.de> (raw)
In-Reply-To: 9hahkh$q8b$07$1@news.t-online.com

"Rainer Welzel" <brigitte.welzel@t-online.de> writes:

> how can I create a Shared Libray from Ada on Linux (gnatmake).

I think the GtkAda sources contain an example.  The idea is to compile
some stub file which 'with's all units at (Ada) library level using
gnatmake and supply thie '-fPIC' flag.  The resulting object files can
be linked with 'gcc -shared -o libsuchandsuch.so *.o' or a similar
command.

> I wont to use some Ada Code inside Borland Kylix.

Don't forget to initialize the Ada environment from your Kylix
program.



  reply	other threads:[~2001-06-26 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-26 17:44 Ada Shared Libray on Linux Rainer Welzel
2001-06-26 19:17 ` Florian Weimer [this message]
2001-06-27 22:19   ` David Hoffman
2001-06-27 23:48     ` Gerhard Häring
2001-06-29  5:06       ` Simon Wright
2001-06-29 21:02         ` Florian Weimer
replies disabled

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