comp.lang.ada
 help / color / mirror / Atom feed
From: "Gerhard Häring" <gerhard@bigfoot.de>
Subject: Re: Windows: cygwin vs. GNAT mingw
Date: 2 Jan 2002 05:28:00 GMT
Date: 2002-01-02T05:28:00+00:00	[thread overview]
Message-ID: <slrna356iv.3nv.gerhard@lilith.hqd-internal> (raw)
In-Reply-To: nOvY7.725$gO5.400754@news1.news.adelphia.net

Terry Westley schrieb im Artikel <nOvY7.725$gO5.400754@news1.news.adelphia.net>:
>  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 <at> bigfoot <dot> 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')))



  reply	other threads:[~2002-01-02  5: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 [this message]
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
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