delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/27/05:55:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
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" <Devender AT stts DOT com DOT sg>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019