This is the mail archive of the
cygwin
mailing list for the Cygwin project.
AW: cygwin 1.5.12-1, g++ 3.3.3 and DB2 UDB DLLs
- 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>
- Date: Tue, 21 Dec 2004 11:01:08 +0100
- Subject: AW: cygwin 1.5.12-1, g++ 3.3.3 and DB2 UDB DLLs
...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/