X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Thu, 19 Mar 2009 01:44:59 +0200 From: alex bodnaru Subject: Re: Help in compiling SQLite 3_6_11 for DJGPP In-reply-to: <005001c9a790$6c905fa0$0201a8c0@itdevelopper> To: "Christian Mission Service, Coonoor" , djgpp AT delorie DOT com Message-id: <49C1877B.3090004@resheteva.lan> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.7 References: <001301c9a3c7$15624170$0201a8c0 AT itdevelopper> <49BC2062 DOT 7010308 AT 012 DOT net DOT il> <005001c9a790$6c905fa0$0201a8c0 AT itdevelopper> User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk -----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 > > ----- Original Message ----- > From: "alex bodnaru" > To: "Christian Mission Service, Coonoor" ; > > Sent: Sunday, March 15, 2009 2:53 AM > Subject: Re: Help in compiling SQLite 3_6_11 for DJGPP > > > > 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 - -- - -- 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-----