X-Spam-Check-By: sourceware.org Message-ID: <4586820.post@talk.nabble.com> Date: Fri, 26 May 2006 20:16:41 -0700 (PDT) From: TmX To: cygwin AT cygwin DOT com Subject: How to link MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: troll DOT exe AT gmail DOT com X-Nabble-From: TmX X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 ? -- View this message in context: http://www.nabble.com/How+to+link-t1690251.html#a4586820 Sent from the Cygwin Users forum at Nabble.com. -- 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/