delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/06/14:22:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200108061822.f76IM5D17890@pilot04.cl.msu.edu>
Subject: VC++ .lib files with g++ ?
To: cygwin AT sources DOT redhat DOT com
Date: Mon, 6 Aug 2001 14:22:05 -0400 (EDT)
From: "Brian Michael Genisio" <genisiob AT pilot DOT msu DOT edu>
X-Mailer: ELM [version 2.4 PL25]

Hey all,

I am wondering if it possible to link up against a MS VC++ lib library with
g++?


I have tried the following :

g++ myfile.cpp -ldsound -L./dx/lib

where dsound.lib exists in the ./dx/lib directory.  This does not complain
about not being able to find the dsound library, but it does not seem to link
against it.

I still get undefined references to functions defined in that lib.

Is there a way to compile .lib libraries with your code?

Brian


--
---------------------------
Brian Genisio
genisiob AT pilot DOT msu DOT edu






--
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/

- Raw text -


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