Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <AA64743FDA51134EBC94A5FFF73E822D02756F24@m-s-app69.muc.fja.de>
From: Lange Torsten <Torsten.Lange@fja.com>
To: "'Gerrit P. Haase'" <gp@familiehaase.de>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: AW: cygwin 1.5.12-1, g++ 3.3.3 and DB2 UDB DLLs
Date: Tue, 21 Dec 2004 11:01:08 +0100
MIME-Version: 1.0
Content-Type: text/plain
X-IsSubscribed: yes

...a great hint, I've tried to link against the original DLLs located in the
DB2 binary directory and it worked!
My link command now looks like this:
  g++ -obuild/cpp/compiledir/debug/Test.exe
  build/cpp/compiledir/debug/Test.o  
  -Le:/Programme/SQLLIB/bin -ldb2app -ldb2abind -ldb2g11n -ldb2install
-ldb2locale 
  -ldb2osse -ldb2sys -ldb2sysp -ldb2trcapi -ldb2util -ldb2wint
-Le:/Programme/SQLLIB/lib -ldb2cli

Thanks a lot,
Torsten

>>[...]

> Does this make a difference if a DLL is stripped or not?  I am not aware
> of this.  Have you actually tried to create import libs?

If the DLL is stripped an empty 'def'-file will be created.

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

