Jon S Berndt wrote: > On Thu, 08 Apr 2004 16:26:08 +0100 > "David Luff" <[EMAIL PROTECTED]> wrote: > > > > > >On 4/8/04 at 10:14 AM Jon S Berndt wrote: > > > >>How does one get g++ under CygWin to use the mingw includes and > >>libraries instead of the nominally supplied ones (which, I think, > >>require the cygwin dll to execute). > >> > > > >I *think* that you just include the -mno-cygwin flag during > >compilation. > > That almost worked, except at link time I got unresolved references > for the socket stuff: > > FGfdmSocket.o(.text+0x2b1):FGfdmSocket.cpp: undefined reference to > [EMAIL PROTECTED]' > FGfdmSocket.o(.text+0x35d):FGfdmSocket.cpp: undefined reference to > [EMAIL PROTECTED]' ..
I guess that you should link with -lwsock32 ( or -lws2_32 if it isn't working ) -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel