From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,4de02d484d08f163 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-02 15:11:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail From: "Terry Westley" Newsgroups: comp.lang.ada References: <6GIY7.257$Ov2.206578@news.uswest.net> Subject: Re: Windows: cygwin vs. GNAT mingw X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: Date: Wed, 2 Jan 2002 18:11:38 -0500 NNTP-Posting-Host: 137.100.53.97 X-Trace: news.uswest.net 1010012824 137.100.53.97 (Wed, 02 Jan 2002 17:07:04 CST) NNTP-Posting-Date: Wed, 02 Jan 2002 17:07:04 CST Xref: archiver1.google.com comp.lang.ada:18464 Date: 2002-01-02T18:11:38-05:00 List-Id: "Gerhard H�ring" 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