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 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: g++ linking Date: Thu, 27 May 2004 17:57:02 +0800 Message-ID: <69596D9C5887874E9A35F6C8DF94B2AB7EA28E@nautilus> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Devender Marri" To: X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i4R9tpxJ032140 Hi, I am not able to link one of my program using g++, so looking forward for some help. I am having a library(util.lib) and dll(util.dll) file. I am trying to link my program to the dll and getting undefined reference error where as the same thing works if I try in linux environment. when I try to list the symbols from the dll it returns nothing. When I try to list the symbos from the library file it returns the symbol for the function I am looking for. I want to know is there any way I can use g++ to link using the library file rather than the dll I rememeber in Microsoft Visual c++ we specifiy library file rather than dll). I went through the mailing list and could not found any relevant requirement. I appreciate ur help in solving my problem. Thank you Regards Marri Devender Rao Software Engineer 24, Ang Mo Kio Street 65, Singapore 569061 Phone: 64131381(O), 65833061(H) -- 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/