Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Help in compiling SQLite 3_6_11 for DJGPP

36 views
Skip to first unread message

alex bodnaru

unread,
Mar 14, 2009, 5:23:46 PM3/14/09
to Christian Mission Service, Coonoor, dj...@delorie.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


hello rajan,

Christian Mission Service, Coonoor wrote:
> Dear Sir,
>
> Greetings to you!
>
> I hope you will be intersted in helping me. I am P. Rajan working for a
> Charitable organisation.
>
> I have successfully compiled Sqlite 3.6.11 using Borland C++ 4.5.
> However while trying to compile with DJGPP (in XP) i got error messages
> indicating that pthread.h is not found. This problem is occuring while
> compiling sqlite3.c, mutex_unix.c and os_unix.c.
>
i have ported sqlite 2 and 3.0.x to djgpp, so i welcome you to use and build on
my code freely.

please follow http://fixunix.com/ms-dos/21285-sqlite-2-8-13-diff-available.html
and links there.

good luck :) .

> I also searched in my system and I could not find pthread.h anywhere. Am
> I need it for compiling? where can I get pthread.h? Kindly advise me.
>
> Thanking you,
>
> With regards,
>
> P. Rajan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iJwEAQECAAYFAkm8IGIACgkQ2nA3WyrfyeM2cgP/cbDDOXc2CzUjfLKhjx+sDPc6
dINCjPxfLcfJyd4mZ+XrdywYNF1W1KkxroYWFCoeb6Fpq/UF5J5aumDSglw0S/Rg
2iSTuYj3bcSE3sEAw5Nmq9mRrofg3yzOQoHhrAhjxHtGVdPmRYARPPdQvW1nuI9m
pz+V1fblZIRdbOxHibI=
=sPvB
-----END PGP SIGNATURE-----

alex bodnaru

unread,
Mar 18, 2009, 7:44:59 PM3/18/09
to Christian Mission Service, Coonoor, dj...@delorie.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Mission Service, Coonoor wrote:
> Dear Sir,
>
> Thank you for your help.
>
> I saw the link. However I am having some trouble in compiling since I am new
> to gcc. I am googling for information on dif files. If u have some sample
> codes regarding databases connectivity and c/C++, please send me if u are
> willing.
>
you don't have to face all the problems together.
on the sqlite site yo can find usage documentation. it's very nice and simple,
so you can make a program for your project.
if i were you, i'd try to use sqlite 2 with my patch, which is known to work
already, with a test database, then port the latest sqlite to djgpp at your pace
and migrate the database from sqlite 2 to sqlite 3 with a single command, as
documented there too.
to my knowledge, sqlite (with my patches) is the best rdbms runnable on dos, at
least free. you may also try to compile clients for rdbms located on other
machines through the network, but you'll be quite pioneer and complexity will
only increase.
anyway, diff files are being applied with the command patch. for special gcc
coomands, you may post even here, or on a dedicated gcc list.

i wish you good luck,
alex
> Thank you,
>
> With regards,
>
> P. Rajan

- --
- --
best regards,
alex


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iJwEAQECAAYFAknBh3oACgkQ2nA3WyrfyePfcAQAlSFy0HvVMAg4YTvNhtYrgEDz
S0myyZNlU1BTHf6B9Z74+PPgqxaRAgrrcYWAUl9OoIaObXyHZnb6tu1hrelEBjjA
sD2nJnQsoSvYkhaNQnfJvKXy21NrkAUu3XqykVY3z4MhaB13NpQ354uPZhjvLjwW
cl9L/oR4kUIkH1on2wU=
=6QXE
-----END PGP SIGNATURE-----

0 new messages