comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeff Creem" <jeff@thecreems.com>
Subject: Re: Windows: cygwin vs. GNAT mingw
Date: Wed, 02 Jan 2002 23:28:47 GMT
Date: 2002-01-02T23:28:47+00:00	[thread overview]
Message-ID: <PIMY7.50873$5W5.20365514@typhoon.ne.mediaone.net> (raw)
In-Reply-To: soMY7.338$Ov2.322017@news.uswest.net

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]


"Terry Westley" <westley@yahoo.com> wrote in message
news:soMY7.338$Ov2.322017@news.uswest.net...
>
> "Gerhard H�ring" <gerhard@bigfoot.de> wrote in message
> news:slrna36n6i.1jl.gerhard@lilith.hqd-internal...
> > Terry Westley schrieb im Artikel <6GIY7.257$Ov2.206578@news.uswest.net>:
>
> >> [Terry]
> >> I can't find it (winserve.dll) either on my system or anywhere on the
net.
>
> > [Gerhard]
> > Then I don't get why you try to link against it. Do you have the import
> > library but not the DLL? If you don't have the DLL, you won't be able to
> > run the executable anyway!?
> >
> > If so, in which form do you have the import library: .def, .lib or .a? I
> > could tell you then how to get this to work with GNAT.
>
> [Terry]
> I am porting a Linux Ada program which has references to several
unresolved
> symbols,
> such as getuid and getgid.  I used nm command to find these symbols in
> winserve.a in
> the mingw libraries of GNAT 3.13p.  So, I naively built and ran the
executable,
> only to
> find that winserve.dll is missing from the GNAT mingw distribution and I
can't
> find it
> anywhere else either.
>
> I think my next step is to get the latest distribution of mingw and see if
the
> supplied
> libraries will satisfy my unresolved symbols and if I can use GNAT to link
them
> into
> my executable.
>
> --
> Terry Westley
> westley@yahoo.com
>
>
>


Good luck but I suspect that will probably not work. The whole purpose of
mingw is to use only native win32 libraries.. Those are pretty unixy
sounding calls.

How many symbols are we talking about here? If it is a small number then
perhaps
you get to the first stage with dummy functions/procedures with appropriate
pragma exports in some with'd package.






  reply	other threads:[~2002-01-02 23:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-02  4:14 Windows: cygwin vs. GNAT mingw Terry Westley
2002-01-02  5:28 ` Gerhard Häring
2002-01-02 18:57   ` Terry Westley
2002-01-02 19:17     ` Gerhard Häring
2002-01-02 23:11       ` Terry Westley
2002-01-02 23:28         ` Jeff Creem [this message]
2002-01-04 18:25           ` Terry Westley
replies disabled

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