Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Sat, 22 May 2010 14:09:18 +0200, Peter Rodwell pe...@gedackt.org wrote: Take a look at REALbasic (http://www.realsoftware.com/), now called REALStudio. It has SQLite support built in (and support for other dabases such as MySQL). The same source code can be compiled simultaneously for Windows

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Mon, 24 May 2010 12:28:14 +0400, Max Vlasov max.vla...@gmail.com wrote: For Delphi I successfully used files from http://www.aducom.com to statically link sqlite files compiled with bcc (Borland command-line c compiler freely available now) with Delphi. Also the components of aducom.com will

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Black, Michael (IS)
. Black Senior Scientist Northrop Grumman Mission Systems From: sqlite-users-boun...@sqlite.org on behalf of Gilles Ganault Sent: Tue 6/1/2010 4:30 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] What languages can include SQLite statically? On Mon, 24 May

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Simon Slavin
On 1 Jun 2010, at 10:30am, Gilles Ganault wrote: The problem is that I'd like a cross-platform solution so that the HTTP + SQLite solution runs on Windows and Linux The obvious solution is to use PHP, and have it use one of the three avaialable sets of SQLite calls. (and in the case of

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Tue, 1 Jun 2010 05:49:27 -0500, Black, Michael (IS) michael.bla...@ngc.com wrote: About the only thing you'll find cross-platform + embedded is C/C++ Yes, it looks like it's pretty much it. I'll check Lua, though, to see whether the modules I need are either in Lua, or are writte in C and can

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Tue, 1 Jun 2010 11:57:29 +0100, Simon Slavin slav...@bigfraud.org wrote: The obvious solution is to use PHP, and have it use one of the three avaialable sets of SQLite calls. Can I compile a PHP script + modules into something that will run on embedded devices? They don't have enough RAM to

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Israel Lins Albuquerque
Look for C++ QT framework! http://qt.nokia.com/ - Mensagem original - De: Gilles Ganault gilles.gana...@free.fr Para: sqlite-users@sqlite.org Enviadas: Terça-feira, 1 de Junho de 2010 8:10:34 Assunto: Re: [sqlite] What languages can include SQLite statically? On Tue, 1 Jun 2010 11

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Tue, 1 Jun 2010 08:40:15 -0300 (BRT), Israel Lins Albuquerque israel...@polibrasnet.com.br wrote: Look for C++ QT framework! http://qt.nokia.com/ Thanks, I'll check it out. ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Rob Sciuk
From: Gilles Ganault gilles.gana...@free.fr On Tue, 1 Jun 2010 08:40:15 -0300 (BRT), Israel Lins Albuquerque israel...@polibrasnet.com.br wrote: Look for C++ QT framework! http://qt.nokia.com/ Thanks, I'll check it out. Gilles, As you may be aware, SQLite and Tcl/Tk have an affinity which

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Mon, 24 May 2010 12:28:14 +0400, Max Vlasov max.vla...@gmail.com wrote: For Delphi I successfully used files from http://www.aducom.com to statically link sqlite files compiled with bcc (Borland command-line c compiler freely available now) with Delphi. Also the components of aducom.com will

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Tue, 1 Jun 2010 11:33:36 -0400 (EDT), Rob Sciuk r...@controlq.com wrote: As you may be aware, SQLite and Tcl/Tk have an affinity which was not entirely accidental. There are threads which discuss compiling Tcl for Arm/Linux:

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Doug Currie
On Jun 1, 2010, at 2:24 PM, Gilles Ganault wrote: Actually, it's a Blackfin processor, and since it's an embedded environment, RAM and storage (NAND) are an issue. You may find eLua interesting. http://www.eluaproject.net/ The supported platforms are heavily ARM based, but in the same

Re: [sqlite] What languages can include SQLite statically?

2010-06-01 Thread Gilles Ganault
On Tue, 1 Jun 2010 15:13:57 -0400, Doug Currie doug.cur...@gmail.com wrote: You may find eLua interesting. http://www.eluaproject.net/ The supported platforms are heavily ARM based, but in the same performance class as Blackfin. Thanks very much for the link. I'll go check if it can be

Re: [sqlite] What languages can include SQLite statically?

2010-05-24 Thread Max Vlasov
Gilles, For Delphi I successfully used files from http://www.aducom.com to statically link sqlite files compiled with bcc (Borland command-line c compiler freely available now) with Delphi. Also the components of aducom.com will allow you to use all the power of Delphi database components with

Re: [sqlite] What languages can include SQLite statically?

2010-05-22 Thread Peter Rodwell
Quoting A.J.Millan: Thanks but I'd like to pack the main application and SQLite into a single executable, so languages like Python, PHP, etc. aren't good solutions. Take a look at REALbasic (http://www.realsoftware.com/), now called REALStudio. It has SQLite support built in (and support for

[sqlite] What languages can include SQLite statically?

2010-05-21 Thread Gilles Ganault
Hello My C skills are very basic. I was wondering: After compiling SQLite into an .OBJ or .LIB file, what languages can be used to include this output into a main program, so we end up with a single EXE. I assume we have the choice of: - C - C++ - Delphi (?) - Other? Thank you.

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Arjen Markus
Hi Gilles, I do not quite understand why this is important to you, but the answer is independent of SQLite itself - and it is a trifle complicated. You can add Fortran to the list below - either a static or a dynamic library will do fine. If you look at Tcl, the matter becomes more complicated:

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Jean-Denis Muys
Well the answer is: any language with an external interface to the C ABI can link to the SQLite compiled C object code (on my planet they don't have .OBJ nor .LIB extensions. Perhaps we are not on the same planet) to yield an executable (I guess that's what you mean by 'EXE'). That include any

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 12:11:39 +0200, Jean-Denis Muys jdm...@kleegroup.com wrote: Well the answer is: any language with an external interface to the C ABI can link to the SQLite compiled C object code Thanks for the explanation. Ideally, the executable should be a simpler language than C that would

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Simon Slavin
On 21 May 2010, at 11:19am, Gilles Ganault wrote: Ideally, the executable should be a simpler language than C that would still be able to include SQLite so that I would end up with a single executable. The SQLite library is provided as one long piece of C code. Not even C++, just C, with a

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Michael Schlenker
Gilles Ganault schrieb: On Fri, 21 May 2010 12:11:39 +0200, Jean-Denis Muys jdm...@kleegroup.com wrote: Well the answer is: any language with an external interface to the C ABI can link to the SQLite compiled C object code Thanks for the explanation. Ideally, the executable should be a

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Black, Michael (IS)
From: sqlite-users-boun...@sqlite.org on behalf of Gilles Ganault Sent: Fri 5/21/2010 5:19 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] What languages can include SQLite statically? On Fri, 21 May 2010 12:11:39 +0200, Jean-Denis Muys jdm...@kleegroup.com wrote: Well the answer is: any

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 06:28:20 -0500, Black, Michael (IS) michael.bla...@ngc.com wrote: It looks like FreeBasic should work http://www.freebasic.net/ You just have to build the include file -- hopefully that's not too hard for you as you probably only need a few of the functions. I'll give it a

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Black, Michael (IS)
-boun...@sqlite.org on behalf of Gilles Ganault Sent: Fri 5/21/2010 6:41 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] What languages can include SQLite statically? On Fri, 21 May 2010 06:28:20 -0500, Black, Michael (IS) michael.bla...@ngc.com wrote: It looks like FreeBasic should work http

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Black, Michael (IS)
/21/2010 6:52 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] What languages can include SQLite statically? Looks like somebody already did the include filesand an example too...hopefully works for you out-of-the-box. http://www.freebasic.net/forum/viewtopic.php?p=101439

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread A.J.Millan
gilles.gana...@free.fr To: sqlite-users@sqlite.org Sent: Friday, May 21, 2010 11:31 AM Subject: [sqlite] What languages can include SQLite statically? Hello My C skills are very basic. I was wondering: After compiling SQLite into an .OBJ or .LIB file, what languages can be used to include

[sqlite] what languages

2010-05-21 Thread joseph collins
I use sqlite from within Autoit V3 (Autoit is a windows-oriented basic-like language) Joe Message: 7 Date: Fri, 21 May 2010 11:31:30 +0200 From: Gilles Ganault gilles.gana...@free.fr Subject: [sqlite] What languages can include SQLite statically? To: sqlite-users@sqlite.org Message-ID

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Arjen Markus
Hi, On 2010-05-21 12:11, Jean-Denis Muys wrote: Well the answer is: any language with an external interface to the C ABI can link to the SQLite compiled C object code (on my planet they don't have .OBJ nor .LIB extensions. Perhaps we are not on the same planet) to yield an executable (I guess

Re: [sqlite] what languages

2010-05-21 Thread Jean-Christophe Deschamps
I use sqlite from within Autoit V3 (Autoit is a windows-oriented basic-like language) AutoIt, while a scripting language can be seen and used as a RAD platform. It enjoys good support, up to date SQLite embedding and executables produced can include any file your application needs, like a

Re: [sqlite] what languages

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 15:23:13 +0200, Jean-Christophe Deschamps j...@q-e-d.org wrote: AutoIt, while a scripting language can be seen and used as a RAD platform. It enjoys good support, up to date SQLite embedding and executables produced can include any file your application needs, like a DB,

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 07:13:48 -0500, Black, Michael (IS) michael.bla...@ngc.com wrote: I took a look at freebasic and sqlite3 support is already included ./examples/libraries/DB/sqlite3_test.bas And it worked for me on my Linux system. You need to just compile sqlite3.c into a linkable library

Re: [sqlite] What languages can include SQLite statically?

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 14:34:56 +0200, A.J.Millan a...@zator.com wrote: Not to say that in PHP you can't link any thing. But perhaps respond to your condition of a simpler language than C that would still be able to include SQLite. There you end with a single script, not an stand alone executable.

Re: [sqlite] what languages

2010-05-21 Thread Matt Young
Don't forget to mention Python On 5/21/10, Gilles Ganault gilles.gana...@free.fr wrote: On Fri, 21 May 2010 15:23:13 +0200, Jean-Christophe Deschamps j...@q-e-d.org wrote: AutoIt, while a scripting language can be seen and used as a RAD platform. It enjoys good support, up to date SQLite