« Return to Thread: How to link

How to link

by TmX :: Rate this Message:

Reply to Author | View in Thread

My Cygwin dir is C:\cygwin

I got a simple Winsock program & would like to compile it. The libwsock32.a is in \lib\32api\

What's the parameter given to GCC so it links the program with the library in C:\cygwin\lib\w32api ?

 « Return to Thread: How to link