NO

Author Topic: Sqlite3 version 3.3.17  (Read 2968 times)

crusty

  • Guest
Sqlite3 version 3.3.17
« on: May 02, 2007, 10:56:33 PM »
Hi Pelles:

PellesC makes use of an older version of Sqlite internally
so you are familiar with the software. From version 3.3.16
onward, the preprocessed source for Sqlite has been
merged into a single large C program. I have compiled an
earlier version, 3.3.12, using the multiple source files
available at that time.

The only Project - Project Options change after choosiing
the Console DLL project creation is to turn on

  char type is unsigned

My attempt to compile the 3.3.16 source to create the DLL
failed due to a timeout after 300 seconds. This has been
reported to the Sqlite forum, followed by a request that
the multiple source file version be distributed again.

Here is Dr. Hipp's response:

  I consider this to be a bug in Pelles C.  It refuses to compile
  a valid ANSI C program.  On the other hand, this is the first
  argument in favor of separate source files that makes sense to
  me. 

--
D. Richard Hipp <drh@hwaci.com>


Perhaps you could take a look at this problem to see if it can
be resolved easily or not.

Regards,

Chris Peachment

PS: the Project - Stop Rebuild menu option does not appear
to do what it is supposed to do during the long wait before
the timeout error.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Sqlite3 version 3.3.17
« Reply #1 on: May 03, 2007, 08:00:57 PM »
You can compile that version SQLite3.c with PellesC, but it takes time.
DLL should compile with cdecl.
Also SQLite3.def is needed for exported functions.
May the source be with you

crusty

  • Guest
Re: Sqlite3 version 3.3.17
« Reply #2 on: May 04, 2007, 12:32:57 AM »
timovjl said:

> You can compile that version SQLite3.c with PellesC, but it takes time.
> DLL should compile with cdecl.
> Also SQLite3.def is needed for exported functions.

Thank you.
I said no to the prompt to stop the build and then let it continue.
The result was a compiled sqlite3.dll that is smaller than the one
distributed at www.sqlite.org and appears to function correctly
with a small test program.