From: Martin Krischik <martin@krischik.com>
Subject: Re: Plugins/Dynamic Libraries
Date: Thu, 11 Nov 2004 09:28:07 +0100
Date: 2004-11-11T09:28:07+01:00 [thread overview]
Message-ID: <1620578.6MPXyIRIlq@linux1.krischik.com> (raw)
In-Reply-To: 419313b1$0$31235$9a6e19ea@news.newshosting.com
Andrew W wrote:
> Greetings All,
>
> I am starting work on a plug in / dynamic library project with ADA and
> just
> wanted to see if I had missed anything. I understand that this is very
> compiler and OS dependent.
>
> Under Linux the accepted method is using the DLibs bindings to dlopen etc
> http://www.cyberdanx.co.uk/ada95/dlibs.html
>
> Under Windows the accepted method is using COM
> http://www.gnavi.org/gnatcom/
>
> I found a post from last year which mentions: "there is a AdaPlugin
> project for Linux that use Dynamic Glib Module functionnality" but did not
> provide any more information - I have been unable to find such a project.
>
> I would most obliged if anybody has pointers to any other ada dynamic
> library implimentations (especially under Linux/Unix).
A current version of GNAT and GPS can do DLLs out of the box. Just Add the
for Library_Dir use ...;
for Library_Name use ...;
for Library_Kind use ...;
for Library_Version use ....;
to your project file and all needed steps will be done for you. Why there is
no checkbox in GPS I don't know. For Windows you need the "experimental"
MinGW GNAT based on GCC 3.4.2. Older GNAT's can do Linux DLLs only.
With Regards
Martin
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
next prev parent reply other threads:[~2004-11-11 8:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 20:46 Plugins/Dynamic Libraries Andrew W
2004-11-11 8:28 ` Martin Krischik [this message]
2004-11-11 10:49 ` Adrien Plisson
2004-11-11 12:42 ` Frank Piron
2004-11-11 13:59 ` Martin Krischik
2004-11-11 16:16 ` Pascal Obry
2004-11-12 0:00 ` David Botton
2004-11-12 18:17 ` Pascal Obry
2004-11-11 10:34 ` Adrien Plisson
2004-11-12 0:12 ` David Botton
2004-11-12 9:53 ` Adrien Plisson
2004-11-14 3:38 ` David Botton
2004-12-04 14:27 ` Lionel Draghi
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox