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.9 required=5.0 tests=BAYES_00 autolearn=ham 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-01 21:28:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-196-68-75.hosts.streamgate.DE!not-for-mail From: Gerhard =?iso-8859-15?Q?H=E4ring?= Newsgroups: comp.lang.ada Subject: Re: Windows: cygwin vs. GNAT mingw Date: 2 Jan 2002 05:28:00 GMT Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: References: NNTP-Posting-Host: 213-196-68-75.hosts.streamgate.de (213.196.68.75) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1009949280 23892760 213.196.68.75 (16 [124666]) User-Agent: slrn/0.9.7.3 (Linux) Cache-Post-Path: gargamel.hqd-internal!gerhard@lilith.hqd-internal X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.lang.ada:18437 Date: 2002-01-02T05:28:00+00:00 List-Id: Terry Westley schrieb im Artikel : > Has anyone successfully used Cygwin in a GNAT-compiled program? Not me. > > It appears that you can successfully link with -lcygwin, but program will crash. > > GDB says: > Program received signal SIGSEGV, Segmentation fault. > 0x61002ac0 in _size_of_stack_reserve__ () > > I suspect that this has something to do with GNAT on Windows using mingw > and you can't build a program with both cygwin and mingw. Yup. I'd bet 10 � that it's not possible. > [snip] Never heard of that DLL, but Google asked me "Did you mean winsrv.dll". Maybe this gets you on the right track. IMO if you want to use GNAT with the Cygwin DLL, you'll first have to port it to Cygwin. Might be a relatively easy port, though. Dunno if that strange winserve.dll is worth it. Do you have it on your system at all? Have you tried DependencyWalker on it? Gerhard -- mail: gerhard bigfoot de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))