How does linker choose library with same function export?

Biswapriyo Nath
Sat Oct 19 12:56:00 GMT 2019

I want to use socket() from ws2_32.dll file. But cygwin1.dll also has that
export. When I use `-lws2_32` option, will gcc **always** choose
ws2_32.lib? My query is somewhat similar with FAQ #5.11.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list