Re: How does linker choose library with same function export?

2019-10-20 Thread Thomas Wolff
Am 20.10.2019 um 11:15 schrieb Csaba Raduly: Hi, On Sat, Oct 19, 2019 at 2:57 PM Biswapriyo Nath wrote: 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

Re: How does linker choose library with same function export?

2019-10-20 Thread Csaba Raduly
Hi, On Sat, Oct 19, 2019 at 2:57 PM Biswapriyo Nath wrote: > > 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. I think the FAQ is pretty clear:

How does linker choose library with same function export?

2019-10-19 Thread Biswapriyo Nath
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: http://cygwin.com/problems.html FAQ: http://cygwin.com/fa