Re: [sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as not signed"

2010-05-21 Thread Rich Rattanni
BloodShed Dev-C++ and ming? My choice for windows development. On Fri, May 21, 2010 at 11:01 AM, Richard Hipp wrote: > On Fri, May 21, 2010 at 7:43 AM, Gilles Ganault wrote: > >> >> But when hitting "Compiler > Make" in the Wedit IDE, I get the >> following errors: >> = >> Error c:\lcc\p

Re: [sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as not signed"

2010-05-21 Thread Richard Hipp
On Fri, May 21, 2010 at 7:43 AM, Gilles Ganault wrote: > > But when hitting "Compiler > Make" in the Wedit IDE, I get the > following errors: > = > Error c:\lcc\projects\sqlite\sqlite3.c 12462 Compiler error (trap). > Stopping compilation > = > This appears to be a bug in your com

Re: [sqlite] what languages

2010-05-21 Thread Matt Young
Don't forget to mention Python On 5/21/10, Gilles Ganault wrote: > On Fri, 21 May 2010 15:23:13 +0200, Jean-Christophe Deschamps > 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

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" 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. Right,

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)" 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 or add sqlite3.o

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

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 14:46:50 +0200, "A.J.Millan" wrote: >Some time ago I used DevC++ with SQLite (it is a Ligth API that uses the GNU >tool chain), but if your planned target is M$, the definitive choice is >Visual Studio Express. OK, I'll try to install MS VS Express on a test host. Thanks ev

Re: [sqlite] what languages

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 15:23:13 +0200, Jean-Christophe Deschamps 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, help files.

Re: [sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as notsigned"

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 09:23:58 -0400, Pavel Ivanov wrote: >C language wasn't changed so much for the last 2 years. I'd say it >wasn't changed at all. So I believe any even 5- or 10-year-old >compiler will be able to do that. I should have meant: Will this compiler include whatever libraries SQLite

Re: [sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as notsigned"

2010-05-21 Thread Pavel Ivanov
> Would this be a problem when trying to compile and link the latest > SQLite source code? C language wasn't changed so much for the last 2 years. I'd say it wasn't changed at all. So I believe any even 5- or 10-year-old compiler will be able to do that. Pavel On Fri, May 21, 2010 at 7:56 AM, G

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 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 gu

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

2010-05-21 Thread A.J.Millan
> > Is MS Visual Studio the recommended solution to compile present-day > SQLite, or are there lighter, open-source compilers that I could use > instead? > Some time ago I used DevC++ with SQLite (it is a Ligth API that uses the GNU tool chain), but if your planned target is M$, the definitive c

[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 > Subject: [sqlite] What languages can include SQLite statically? > To: sqlite-users@sqlite.org > Message-ID: > Content-Type:

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

2010-05-21 Thread Black, Michael (IS)
Hopefully my last comment on this. I've been using Code::Blocks because it is cross-platform. I develop under Windows and deploy under Linux. It can also do 64-bit (takes some tweaking to do 64-bit on Windows). MS Visual Studio Express cannot do cross-platform, or 64-bit. Michael D. Black

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

2010-05-21 Thread A.J.Millan
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. A.J.Millan - Original Message - From: "Gilles Ganault" To

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

2010-05-21 Thread Jean-Denis Muys
I use Xcode, which is a front end to either clang or gcc. But I usually don't compile SQLite myself as it's a standard part of the OS. I link my code, written in Objective-C, compiled with either compiler, with the OS-provided libraries. The result is a native application. No muss no fuss. Jean-D

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

2010-05-21 Thread Black, Michael (IS)
MS Visual Studio Express should work just fine. If you're used to MS products. Michael D. Black Senior Scientist Northrop Grumman Mission Systems From: sqlite-users-boun...@sqlite.org on behalf of Gilles Ganault Sent: Fri 5/21/2010 7:26 AM To: sqlite-users@sql

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

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 14:23:04 +0200, "A.J.Millan" wrote: >Due the fact that you already know C and as my 2 cents to the question, >depending on your requirements, perhaps would have a look to PHP. > >As far as I know, you can use directly SQLite from that language and perhaps >you find it simple

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

2010-05-21 Thread A.J.Millan
Due the fact that you already know C and as my 2 cents to the question, depending on your requirements, perhaps would have a look to PHP. As far as I know, you can use directly SQLite from that language and perhaps you find it simple to use; easy to port between platforms and direct and easy to

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

2010-05-21 Thread Black, Michael (IS)
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 or add sqlite3.o to your compile line. So you can do fbc sqlite3_test.bas -lsqlite3 O

Re: [sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as notsigned"

2010-05-21 Thread Gilles Ganault
On Fri, 21 May 2010 06:49:08 -0500, "Black, Michael (IS)" wrote: >I would recommend Code::Blocks which will give you a GUI to work with too >http://www.codeblocks.org/ Thanks for the link. Apparently, Code::Blocks hasn't been updated in two years: http://www.codeblocks.org/downloads/binaries Wou

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

2010-05-21 Thread Black, Michael (IS)
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 Michael D. Black Senior Scientist Northrop Grumman Mission Systems From: sqlite-users-bou

Re: [sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as notsigned"

2010-05-21 Thread Black, Michael (IS)
I would recommend Code::Blocks which will give you a GUI to work with too. You just need to learn how to compile which isn't hard at all. You just add your source modules to your project and "Build". http://www.codeblocks.org/ Michael D. Black Senior Scientist Northrop Grumman Mission Systems

[sqlite] [lcc32] "sqlite3.c:6597 Character constant taken as not signed"

2010-05-21 Thread Gilles Ganault
Hello I'm a C newbie, and would like to compile a small C project that will include a main.c along with sqlite3.c and sqlite3.h (ie. the amalgamated version of the SQLite source code). This is an alternative to trying to use SQLite from an another language while still being able to pack both the m

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)" 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 try. Thanks ever

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

2010-05-21 Thread Black, Michael (IS)
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. Michael D. Black Senior Scientist Northrop Grumman Mission Systems ___

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 > 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 languag

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

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 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 still be able to i

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 C-f

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:

[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.