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

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

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

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

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

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

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

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

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,

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

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

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

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.

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"

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.

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

[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

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

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:

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

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

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

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,

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

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