delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/21/05:01:26

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
Message-ID: <AA64743FDA51134EBC94A5FFF73E822D02756F24@m-s-app69.muc.fja.de>
From: Lange Torsten <Torsten DOT Lange AT fja DOT com>
To: "'Gerrit P. Haase'" <gp AT familiehaase DOT de>
Cc: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT 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
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/

- Raw text -


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