This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Any cygwin ports of Berkeley DB libraries?
- To: email@example.com, firstname.lastname@example.org
- Subject: Re: Any cygwin ports of Berkeley DB libraries?
- From: Craig Nelson <email@example.com>
- Date: Tue, 9 Mar 1999 13:36:22 -0700 (MST)
- Delivered-To: firstname.lastname@example.org
- Delivered-To: mailing list email@example.com
- Mailing-List: contact firstname.lastname@example.org; run by ezmlm
- Sender: email@example.com
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
I would have included the snippet here, but do not have it online at the moment.
Craig Nelson, Cameo Systems Inc.
> From firstname.lastname@example.org Tue Mar 9 12:10 MST 1999
> Mailing-List: contact email@example.com; run by ezmlm
> Delivered-To: mailing list firstname.lastname@example.org
> From: "Kevin Wright" <email@example.com>
> To: <firstname.lastname@example.org>
> 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
> 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 email@example.com
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org