delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/09/15:41:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 9 Mar 1999 13:36:22 -0700 (MST)
From: Craig Nelson <craig AT reversion DOT ca>
Message-Id: <199903092036.NAA04448@dogear.reversion.ca>
To: cygwin AT sourceware DOT cygnus DOT com, kwright AT aspectdv DOT com
Subject: Re: Any cygwin ports of Berkeley DB libraries?
X-Sun-Charset: US-ASCII

you just have to get db to compile with cygwin thinking its on a unix machine,
(as opposed to db realizing its on an intel box) and then link your code to the resulting libdb.a

Check the cygwin mail archives for the db code and your source code 
modifications you will need.  Specifically, I'm refering to the Message from 
Micheal Czapski dated Thu, 27, Aug, 1998.  (subject: gcc ... -U_WIN32.. may cause problems)

A correction to the code snippet listed there is:

	change the line: '#include' to '#include <unistd.h>'

It's a simple fix, and it beats compiling db with msvc++ and porting the .lib 
file over.

I would have included the snippet here, but do not have it online at the moment.

Craig Nelson, Cameo Systems Inc.
craig AT reversion DOT ca

> From cygwin-return-1238-craig=reversion DOT ca AT sourceware DOT cygnus DOT com Tue Mar  9 12:10 MST 1999
> Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
> Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
> From: "Kevin Wright" <kwright AT aspectdv DOT com>
> To: <cygwin AT sourceware DOT cygnus DOT com>
> Subject: Any cygwin ports of Berkeley DB libraries?
> Date: Tue, 9 Mar 1999 11:07:39 -0800
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
> Importance: Normal
> 
> Hello,
> 
> I have searched the archives but didn't find any ports of the Berkeley DB
> libraries to cygwin. I'm trying to build some software which requires the
> libdb.a library.
> 
> I have tried to build this myself from the source code and always run into
> trouble. So far, I have tried to build versions 1.86, 2.3.16, & 2.7.3 with
> no luck.
> 
> Any help would be appreciated.
> 
> Kevin Wright
> Mountain View, CA
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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