delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/23/16:19:42

X-Spam-Check-By: sourceware.org
Date: Fri, 23 Dec 2005 14:19:34 -0700
From: ERIC HO <ericmho AT shaw DOT ca>
Subject: Re: Using gcc under cygwin to compile and link the db2 udb sample c programs
To: cygwin AT cygwin DOT com
Message-id: <182f6f182e92.182e92182f6f@shaw.ca>
MIME-version: 1.0
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

Thanks Eric. I was able to compile and link the db2 udb sample program using gcc with no errors. But I got segmentation fault error when running the sample program. After spending some time on this problem, I decided to install Microsoft VC++. I then ran nmake all and was able to run the sample program with no problems on my XP, just like running it on Linux. Too bad, using cygwin and gcc did not work for me. Thanks.


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