"Gerhard H�ring" wrote in message news:slrna356iv.3nv.gerhard@lilith.hqd-internal... > 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. I saw this on Google too. But, it appears to be something else. > 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. Well, I'd really prefer to use mingw because a) it's already built into GNAT and b) it is reportedly much faster than cygwin. But, I'm stuck because I can't get either one to work! > Dunno if that strange winserve.dll is worth it. Do you have it on your > system at all? Have you tried DependencyWalker on it? I can't find it either on my system or anywhere on the net. What is Dependency Walker? Is that like cygcheck that tells me what dlls are used by an executable? Sort of like ldd in the unix world. > 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')))