comp.lang.ada
 help / color / mirror / Atom feed
From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: DLL's with GNAT 3.09 for Windows 95
Date: 1997/08/28
Date: 1997-08-28T00:00:00+00:00	[thread overview]
Message-ID: <5u4ick$3jf@mulga.cs.mu.OZ.AU> (raw)
In-Reply-To: 01bcb3ce$5ba36100$57d653c1@sim01.amst.co.at


"Joachim Schroeer" <schroeer@amst.co.at> writes:

>I have a simple question.
>How can one generate DLL's from '.o' files produced by GNAT 3.09 on Windows
>95?

See <http://www.cs.mu.oz.au/~fjh/gnu-win32/how-to-build-dlls.html>.
I've only tried this for C programs (and Mercury programs) but I think
it should work for Ada too.  You will probably need to make sure your
DLL does not export any global variables.  The web page cited above has
a solution to the global variable problem for C programs, using
#define, but I suspect that it may be a bit harder to solve for Ada.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.




      reply	other threads:[~1997-08-28  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-28  0:00 DLL's with GNAT 3.09 for Windows 95 Joachim Schroeer
1997-08-28  0:00 ` Fergus Henderson [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