delorie.com/archives/browse.cgi | search |
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: | <41C75676.2090609@familiehaase.de> |
Date: | Mon, 20 Dec 2004 23:47:18 +0100 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Organization: | Esse keine toten Tiere |
User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 |
MIME-Version: | 1.0 |
To: | Lange Torsten <Torsten DOT Lange AT fja DOT com> |
CC: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | Re: cygwin 1.5.12-1, g++ 3.3.3 and DB2 UDB DLLs |
References: | <AA64743FDA51134EBC94A5FFF73E822D02756F1E AT m-s-app69 DOT muc DOT fja DOT de> |
In-Reply-To: | <AA64743FDA51134EBC94A5FFF73E822D02756F1E@m-s-app69.muc.fja.de> |
X-IsSubscribed: | yes |
Lange Torsten wrote: > Hi, > > I've got a problem using embedded SQL with cygwin 1.5.12-1, g++ (GCC) 3.3.3 > (cygwin special) and DB2 UDB 8.1.4. My platform is Windows NT 4 SP 6. > Preprocessing the embedded SQL-code works and I am able to compile the > generated code and link the program with db2api.lib! (I thought that I have > to build a Cygwin compatible import library via nm and dlltool, but > db2app.dll, db2sys.dll, db2wint.dll and the others are stripped - so I tried > the original import library.) 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? > gcc -m32 -O0 -ggdb -g3 -Wall -c -obuild/cpp/compiledir/debug/Test.o > Test.cpp > > g++ -obuild/cpp/compiledir/debug/Test.exe > build/cpp/compiledir/debug/Test.o > -Le:/Programme/SQLLIB/lib -ldb2api -Le:/Programme/SQLLIB/lib -ldb2cli > > Program execution results in a core dump: [...] > Are there any additional parameter for compiling/linking or is there another > way to create the Cygwin compatible import libs? Have you tried to link against the DLL directly? Gerrit -- =^..^= -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |