Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-Id: <4.3.1.2.20010806161313.02266cf0@pop.ma.ultranet.com> X-Sender: lhall@pop.ma.ultranet.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 06 Aug 2001 16:16:43 -0400 To: Darius.Clynes@cec.eu.int, cygwin@cygwin.com From: "Larry Hall (RFK Partners, Inc)" Subject: RE: VC++ .lib files with g++ ? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:52 PM 8/6/2001, Darius.Clynes@cec.eu.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@rfk.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/