Brian Dessent wrote:

Brian Dessent wrote:



cat <<ENDL >getservbyname-mingw.c && gcc -mno-cygwin \
getservbyname-mingw.c -o getservbyname-mingw && ./getservbyname-mingw



Correction: add "-lws2_32" to the gcc options.

--
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/




Oh, thank you. I've actually done it and my previous post actually shows the output of the executable compiled with

gcc -mno-cygwin -lws2_32  getservbyname-mingw.c

There's something definitely wrong here. I know that doing the compile should work.

Things are strange....

Thanks!

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph










-- 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/



Reply via email to