> -----Original Message----- > From: cygwin-owner On Behalf Of Frédéric ORMANCEY > Sent: 22 September 2004 13:31
> problem seems coming from trailing @nn in library symbols. > cygwin linker don't know how to translate a reference like > _FormatMessageA to [EMAIL PROTECTED] > the calling convention ( C, Stdcall, C++, ... ) has effect only on > underscore preceeding symbol name, not on @nn notation. > > It seems there is no solutions to this problem, I will > abandon cygwin to > build my Ada application under windows :-( You didn't read that letter that you were replying to very well: > >default for Windows). If you cannot get Ada to ask for the > proper symbol, > >you could try using the '--enable-stdcall-fixup' option (for > 'ld') to > >attempt to massage away the problem. It doesn't seem from your reply that you have actually tried this. Note that to pass the option through to the linker from the compiler you would need to add "-Wl," before it, but if you have a separate link stage in your makefile that invokes the linker directly that would not be necessary. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/