From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22770 invoked by alias); 22 Nov 2001 15:27:28 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 22729 invoked from network); 22 Nov 2001 15:27:26 -0000 Received: from unknown (HELO web13403.mail.yahoo.com) (216.136.175.61) by sourceware.cygnus.com with SMTP; 22 Nov 2001 15:27:26 -0000 Message-ID: <20011122152725.25732.qmail@web13403.mail.yahoo.com> Received: from [24.42.104.24] by web13403.mail.yahoo.com via HTTP; Thu, 22 Nov 2001 07:27:25 PST Date: Thu, 15 Nov 2001 01:05:00 -0000 From: Tianhong Chen Subject: How to link against .lib files To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-11/txt/msg00859.txt.bz2 Hi, all, I have a question about how to link against .lib files using cygwin tools. I read the relevant section in the FAQ and also searched the mailing list archive, but didn't get the answer. In the FAQ, it mentioned the linker: LINK.EXE, what if I have only LD from GNU binutiles package? Could the instructions be more elaborated. The following is what I couldn't understand: 1) Build a C file == Edit a C file? 2) Build a Dummy LibMain: what should be in LibMain 3) What is a .def file? 4) Is it possible to use "LD" instead of "LINKER.EXE" It'll be really appreciated for any answers or points of references to this question. Best Regards, Tianhong __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tianhong Chen To: cygwin@cygwin.com Subject: How to link against .lib files Date: Thu, 22 Nov 2001 07:27:00 -0000 Message-ID: <20011122152725.25732.qmail@web13403.mail.yahoo.com> X-SW-Source: 2001-11/msg01447.html Message-ID: <20011122072700.0UzwU_Mp52ULyc2ul4oYsJwd4at5EnzQVUGfl600vcQ@z> Hi, all, I have a question about how to link against .lib files using cygwin tools. I read the relevant section in the FAQ and also searched the mailing list archive, but didn't get the answer. In the FAQ, it mentioned the linker: LINK.EXE, what if I have only LD from GNU binutiles package? Could the instructions be more elaborated. The following is what I couldn't understand: 1) Build a C file == Edit a C file? 2) Build a Dummy LibMain: what should be in LibMain 3) What is a .def file? 4) Is it possible to use "LD" instead of "LINKER.EXE" It'll be really appreciated for any answers or points of references to this question. Best Regards, Tianhong __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/