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: <4.3.1.2.20010806161313.02266cf0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 06 Aug 2001 16:16:43 -0400 To: Darius DOT Clynes AT cec DOT eu DOT int, cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> Subject: RE: VC++ .lib files with g++ ? In-Reply-To: <A7AF87D6496DD411B50A00D0B76DEB2C1E6F7A@EX2BEBREYMBX02> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:52 PM 8/6/2001, Darius DOT Clynes AT cec DOT eu DOT int wrote: >Try changing the order of the libraries to link with: > >g++ myfile.cpp dxguid.lib dsound.lib > >I have noticed that this sometimes make a difference. Correct. Order *is* important. List any .lib or object file needed to resolve a symbol after its reference. If you don't, you'll get undefines... Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/