Re: [sqlite] Compiling SQLite Encryption Extension for ARM processor

2020-02-13 Thread Jens Alfke
> On Feb 13, 2020, at 10:51 AM, Subodh Pathak wrote: > > I am looking for help to configure machine to compile SEE for ARM. I am > using Android mobile Samsung G7. You have to use a cross-compiler, a version of GCC that runs on your platform but generates ARM-Linux code. Specifically, to

Re: [sqlite] Compiling SQLite Encryption Extension for ARM processor

2020-02-13 Thread Richard Hipp
On 2/13/20, Subodh Pathak wrote: > > I am trying to compile SEE for ARM processor. There is a website explain how to compile SQLite for Android here: https://www.sqlite.org/android/doc/trunk/www/index.wiki Please review the instructions on that website and write again if they do not work for

[sqlite] Compiling SQLite Encryption Extension for ARM processor

2020-02-13 Thread Subodh Pathak
Team, I am trying to compile SEE for ARM processor. I have followed following steps. But was not successful in generating " *libsqliteX.so*" file which can be used on Android Samsung G7 mobile. 1. Installed GCC compiler from “http://www.mingw.org/” reference at “ https://gcc.gnu.org/”. 2.

[sqlite] Compiling SQLite without the database storage?

2019-12-21 Thread Jens Alfke
This may sound crazy, but is there a way to compile SQLite without its B-tree and table code? This would be for a use case with _only_ virtual tables — i.e. SQLite being used as a SQL query engine on top of a different data store*. It would be nice not to drag in too much unused code. —Jens *

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread Bart Smissaert
> About name decoration please see https://msdn.microsoft.com/en-us/library/56h2zst2.aspx Thanks, that was helpful. In the above it says: Note that in a 64-bit environment, functions are not decorated. Not sure what that exactly means as I know that in VBA 64 bits decorated names are used in

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
The top right pane shows which entry points are actually imported by the importing module. Since the top level module is not imported by anything the "imports" Pane is empty. About name decoration please see https://msdn.microsoft.com/en-us/library/56h2zst2.aspx Bart Smissaert schrieb am

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread Bart Smissaert
Haven't I got that here: > Additional Options: > > sqlite3.c /Gz -DSQLITE_API=__declspec(dllexport) Or should I leave the D off before SQLITE_API ? RBS On Tue, Apr 5, 2016 at 11:04 PM, J Decker wrote: > On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert > wrote: > > I am not using .def

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
Well, last time I built sqlite3.dll myself was some years ago... I don't remember why we used the .def J Decker schrieb am 05.04.2016 um 23:05: > def files are obsolete. > the instructions include setting SQLITE_API to __declspec(dllexport) > which should do the job... unless there was a typeo >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-06 Thread GB
Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have problems with post-XP OS. Try V2.2 from here: http://www.heise.de/download/dependency-walker.html (German site, but downloads should be easy to spot). But if I remember this right, you need to include the sqlite3.def file

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I said that wrong, even in the old 32 bits Dependency Walker there is nil in the top right pane. Still, there are no decorated function names in the 64 bit dll to see. Is this normal or do I have to alter my command line parameters? RBS On Tue, Apr 5, 2016 at 10:23 PM, Bart Smissaert wrote: >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
Thanks, that V2.2 works. What is strange though is that I see nil in the top right pane, so decorated function names. Is this different in the 64 bits dll? RBS On Tue, Apr 5, 2016 at 10:03 PM, GB wrote: > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have > problems with

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I am not using .def files, but use commandline settings from VS: All options: /GS /TC /W3 /Zc:wchar_t /Zi /Gm- /O2 /Fd"x64\Release\vc120.pdb" /fp:precise /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "SQLITE3_STDCALL_EXPORTS" /D "_WINDLL" /errorReport:prompt /WX- /Zc:forScope /Gz /MD

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread GB
Dependency Walker comes in two different flavors, one for x86 and one for x64. You need to use the appropriate one for your DLL. Bart Smissaert schrieb am 05.04.2016 um 09:50: > Trying to compile SQLite 64 bits in MSVS 2013 from the amalgation. > Using instructions from: > >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
I downloaded the 64 bit version of DependencyWalker from here: https://support.microsoft.com/en-us/kb/256872 but it didn't run on my machine although it is Win 7 Pro 64 bits. Will have a look on the MSVS 2013 installation disc. RBS On Tue, Apr 5, 2016 at 8:17 PM, GB wrote: > Dependency

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread J Decker
On Tue, Apr 5, 2016 at 2:09 PM, Bart Smissaert wrote: > I am not using .def files, but use commandline settings from VS: > > All options: > > /GS /TC /W3 /Zc:wchar_t /Zi /Gm- /O2 /Fd"x64\Release\vc120.pdb" /fp:precise > /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D >

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread J Decker
def files are obsolete. the instructions include setting SQLITE_API to __declspec(dllexport) which should do the job... unless there was a typeo On Tue, Apr 5, 2016 at 2:03 PM, GB wrote: > Strange. Runs fine here (also Win 7 Pro x64). But version 2.1 may have > problems with post-XP OS. Try V2.2

[sqlite] Compiling SQLite dll 64 bits in MSVS

2016-04-05 Thread Bart Smissaert
Trying to compile SQLite 64 bits in MSVS 2013 from the amalgation. Using instructions from: http://pavel.cernohorsky.name/blog/2015/09/sqlite_64-bit_binaries_for_windows_and_how_to_build_them_with_visual_studio_2015.php All compiles well, so no warnings and get a dll of about 700 kB. Nil shows

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
I tried with the following flags : gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c and > gcc -m32 -o sqlite3.o sqlite3.c shell.c but both results in the same error. Can you please help me solve this ? On Thu, Jul 2, 2015 at 2:47 PM, Andy Ling wrote: > > I get the following error

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
Hi Andy, I get the following error while trying to compile after linking with the library ld: warning: ignoring file > /Users/prakash-2282/Downloads/sqlite-amalgamation-201506301510/libsqlite3.a, > file was built for archive which is not the architecture being linked > (x86_64): >

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
Thanks a ton Andy for your reply. can you specify how I should specify the include flags (-I). The kore build complais that "sqlite3.h" header file is not found . Thanks a lot for your time On Thu, Jul 2, 2015 at 1:51 PM, Andy Ling wrote: > > Can you please tell me how to compile it as a

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Amit Chaudhuri
Maybe this will help? http://stackoverflow.com/questions/4234767/how-do-i-build-sqlite3-from-command-line On Thu, Jul 2, 2015 at 10:25 AM, Prakash Premkumar wrote: > I tried with the following flags : > > gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c > > > and > > >> gcc -m32 -o sqlite3.o

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Prakash Premkumar
Thanks for your reply Kees. I am using kore web server and I want to pass sqlite library in the LDFLAGS option to the kore webserver. ( https://kore.io/doc/#cli ) For this purpose, I would like to compile it as a library, I wont be able to pass the sqlite3.c in the list of sources. Can you

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> I tried with the following flags : > > gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c > > > and > > > > gcc -m32 -o sqlite3.o sqlite3.c shell.c > > > but both results in the same error. > > Can you please help me solve this ? > It's getting outside my level of expertise (and not

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> I get the following error while trying to compile after linking with the > library > > ld: warning: ignoring file > > /Users/prakash-2282/Downloads/sqlite-amalgamation- > 201506301510/libsqlite3.a, > > file was built for archive which is not the architecture being linked > > (x86_64): > >

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> Thanks a ton Andy for your reply. > > can you specify how I should specify the include flags (-I). > The kore build complais that "sqlite3.h" header file is not found . > Sounds like you need to read a few more manuals :^) Normally there are compiler options that let you tell it which

[sqlite] Compiling sqlite as as library

2015-07-02 Thread Andy Ling
> Can you please tell me how to compile it as a library on Mac OSX and Linux > platforms ? > Use your favourite compiler to generate sqlite3.o then use ar to wrap that up as a .a file. Give that file a name something like libsqlite3.a and you will be able to add -Lsqlite3 to your LDFLAGS. The

[sqlite] Compiling sqlite as as library

2015-07-01 Thread Kees Nuyt
On Wed, 1 Jul 2015 14:28:37 +0530, Prakash Premkumar wrote: >Hi, > >Can you please tell me how to compile sqlite as a library and link with >other applications using the "-L" flag ? That depends on the operating system you want to use it on. For many common platforms a precompiled binary is

[sqlite] Compiling sqlite as as library

2015-07-01 Thread Prakash Premkumar
Hi, Can you please tell me how to compile sqlite as a library and link with other applications using the "-L" flag ? Thanks a lot for your time .

Re: [sqlite] Compiling SQLite on VxWorks 6.3 (DKM)

2014-03-01 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/14 06:37, deltuo wrote: > i compile sqlite 3.8.3 to vxworks 6.9, i first compile sqlite in dkm > and get xx.a lib file, and then test it in vip project, but meet disk > i/o error, can you help me ? thank you , my email is del...@126.com

Re: [sqlite] Compiling SQLite on VxWorks 6.3 (DKM)

2014-03-01 Thread deltuo
i compile sqlite 3.8.3 to vxworks 6.9, i first compile sqlite in dkm and get xx.a lib file, and then test it in vip project, but meet disk i/o error, can you help me ? thank you , my email is del...@126.com -- View this message in context:

[sqlite] Compiling SQLite with latest MinGW: undesired link to MinGW-specific dll.

2014-02-16 Thread Jan Nijtmans
When compiled SQLite out-of-the-box on MinGW-4.0 there are two problems. One is currently in progress on the "mingw4x" branch, but there is one more. For explanation and a suggested fix, see below. When compiling sqlite3.dll, it contains a link to libgcc_s_dw2-1.dll, which must be distributed

[sqlite] Compiling sqlite (amalgamation) with ICU support for windows

2013-11-17 Thread Jens Helweg
Hello,    I am trying to compile sqlite db with icu support using cygwin on windows.    As I am using the amalgamation version my understanding is that everthing I need is already included.    But when I try to compile this it complains about missing header files:  > gcc.exe -DSQLITE_ENABLE_ICU

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-29 Thread andy
r help! From: Joe Mistachkin Sent: ‎May‎ ‎28‎, ‎2013 ‎6‎:‎36‎ ‎PM To: 'General Discussion of SQLite Database' Subject: Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised) a...@sourcegear.com wrote: > > Why is the default to disable extensions on WP8? > I'm actually not sur

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-28 Thread Joe Mistachkin
a...@sourcegear.com wrote: > > Why is the default to disable extensions on WP8? > I'm actually not sure at this point. Previously, it was disabled due to lack of the necessary OS APIs. > > Is there something about the platform that makes extensions not work? > If the extensions are statically

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-28 Thread andy
: [sqlite] Compiling SQLite for Windows Phone 8 (revised) a...@sourcegear.com wrote: > > What do I have to do to generate one myself? > Sorry, slight revision... >From a Visual Studio 2012 Phone Tools (you'll need the WP8 SDK) command prompt, the following commands should work: SET

Re: [sqlite] Compiling SQLite for Windows Phone 8 (revised)

2013-05-28 Thread Joe Mistachkin
a...@sourcegear.com wrote: > > What do I have to do to generate one myself? > Sorry, slight revision... >From a Visual Studio 2012 Phone Tools (you'll need the WP8 SDK) command prompt, the following commands should work: SET NCRTLIBPATH=%ProgramFiles(x86)%\Microsoft Visual Studio

Re: [sqlite] Compiling SQLite for Windows Phone 8

2013-05-28 Thread Joe Mistachkin
a...@sourcegear.com wrote: > > What do I have to do to generate one myself? > >From a Visual Studio 2012 Phone Tools (you'll need the WP8 SDK) command prompt, the following commands should work: SET NCRTLIBPATH=%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC\WPSDK\WP80\lib SET

[sqlite] Compiling SQLite for Windows Phone 8

2013-05-28 Thread andy
I’d like to generate my own build of SQLite from the amalgamation source for use in a WP8 app, but I can’t figure out how to compile it successfully. Building for WinRT was as simple as defining SQLITE_OS_WINRT so I expected something similar for WP8, but no amount of searching has turned up

[sqlite] Compiling SQLite on VxWorks 6.3 (DKM)

2012-09-01 Thread Udon Shaun
Hi all. Finally got Sqlite 3.7.13 working on VxWorks 6.3 in DKM. Thanks for all the help. Shaun ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Compiling sqlite

2011-07-13 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/13/2011 10:56 AM, Jan Hudec wrote: > In my experience, the .o files are significantly larger than the resulting > binary. The size command will tell you how big the code (aka text), data and zero initialized data (aka bss) are for object or

Re: [sqlite] Compiling sqlite

2011-07-13 Thread Jan Hudec
On Tue, Jul 12, 2011 at 17:37:57 +0300, Baruch Burstein wrote: > The website (http://www.sqlite.org/about.html) says that sqlite can be > compiled to under 300K. I am using mingw32, and with no configuration did I > manage to get sqlite3.o below 400k. What compiler/compiler options are used > to

Re: [sqlite] Compiling sqlite

2011-07-12 Thread Richard Hipp
On Tue, Jul 12, 2011 at 10:37 AM, Baruch Burstein wrote: > The website (http://www.sqlite.org/about.html) says that sqlite can be > compiled to under 300K. I am using mingw32, and with no configuration did I > manage to get sqlite3.o below 400k. What compiler/compiler

[sqlite] Compiling sqlite

2011-07-12 Thread Baruch Burstein
The website (http://www.sqlite.org/about.html) says that sqlite can be compiled to under 300K. I am using mingw32, and with no configuration did I manage to get sqlite3.o below 400k. What compiler/compiler options are used to reach <300K? ___

Re: [sqlite] Compiling SQLite on Solaris 64bit and SPARC?

2010-11-08 Thread Lynton Grice
] On Behalf Of David Kirkby Sent: 08 November 2010 09:35 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Compiling SQLite on Solaris 64bit and SPARC? On 8 November 2010 16:09, Lynton Grice <lynton.gr...@logosworld.com> wrote: > Hi all, > > Anybody out there got the

Re: [sqlite] Compiling SQLite on Solaris 64bit and SPARC?

2010-11-08 Thread David Kirkby
On 8 November 2010 16:09, Lynton Grice wrote: > Hi all, > > Anybody out there got the latest version of SQLite compiled on Solaris 10 64 > bit? > > Perhaps I must add some options to the "./configure"? > > Thanks for the help ;-) > > Lynton I've built sqlite-3.6.22

Re: [sqlite] Compiling SQLite on Solaris 64bit and SPARC?

2010-11-08 Thread Lynton Grice
On Behalf Of Lynton Grice Sent: 07 November 2010 07:01 PM To: 'General Discussion of SQLite Database' Subject: [sqlite] Compiling SQLite on Solaris 64bit and SPARC? Importance: High Hi there, I have just downloaded the latest version of SQLite (sqlite-amalgamation-3.7.3.tar.gz) and am trying

[sqlite] Compiling SQLite on Solaris 64bit and SPARC?

2010-11-07 Thread Lynton Grice
Hi there, I have just downloaded the latest version of SQLite (sqlite-amalgamation-3.7.3.tar.gz) and am trying to compile it on my Solaris 10 64bit machine, but get an error for some reason (see below). I ran a "./configure" (with no parameters) and it seemed to be fine, but then the

Re: [sqlite] Compiling SQLite as .lib increases projectsizeandbuildtime?

2009-12-17 Thread Kurt D. Knudsen
: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kurt D. Knudsen Sent: Thursday, December 17, 2009 10:31 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] Compiling SQLite as .lib increases projectsizeandbuildtime? Yeah, seems to be giving me odd

Re: [sqlite] Compiling SQLite as .lib increases projectsizeandbuild time?

2009-12-17 Thread Pavel Ivanov
s), 0 warning(s) > == Rebuild All: 0 succeeded, 1 failed, 0 skipped == > > Any ideas? > > -Original Message- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kurt D. Knudsen > Sent: Thursday, December 17, 2

Re: [sqlite] Compiling SQLite as .lib increases projectsizeandbuild time?

2009-12-17 Thread Kurt D. Knudsen
m: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Kurt D. Knudsen Sent: Thursday, December 17, 2009 10:19 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] Compiling SQLite as .lib increases projectsizeandbuild time? Hi Pavel, I think that's t

Re: [sqlite] Compiling SQLite as .lib increases project sizeandbuild time?

2009-12-17 Thread Kurt D. Knudsen
exciting :) Thanks, Kurt -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Pavel Ivanov Sent: Thursday, December 17, 2009 10:04 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] Compiling SQLite as .lib

Re: [sqlite] Compiling SQLite as .lib increases project size andbuild time?

2009-12-17 Thread Pavel Ivanov
> its library as additional linking source in dependent projects. > > Pavel > > -Original Message- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Teg > Sent: Thursday, December 17, 2009 9:13 AM > To: General Discussion of

Re: [sqlite] Compiling SQLite as .lib increases project sizeandbuild time?

2009-12-17 Thread Igor Tandetnik
Kurt D. Knudsen wrote: > I have not defined it in the Linker properties. I have a solution called > 'SQLite Test' and inside it consists of 4 projects: > > HouseKeeper - compiles as .dll > Common - compiles as .dll > SQLiteTest - compiles as .exe > Sqlite - forced to compile as .lib (Why?!) In

Re: [sqlite] Compiling SQLite as .lib increases project size andbuild time?

2009-12-17 Thread Kurt D. Knudsen
dditional linking source in dependent projects. Pavel -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Teg Sent: Thursday, December 17, 2009 9:13 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] Compiling SQLit

Re: [sqlite] Compiling SQLite as .lib increases project size and build time?

2009-12-17 Thread Teg
Hello Kurt, The size increase is because you're including code IN the program instead of having it in a DLL. That's one of the benefits of DLLs. The second thing, the build time thing is because you've chosen to build SQLite each and every time you build the entire project. That's purely a design

Re: [sqlite] Compiling SQLite as .lib increases project size and build time?

2009-12-17 Thread Pavel Ivanov
> 1>LINK : fatal error LNK1181: cannot open input file > '..\release\sqlite.lib' Is this filename something that you wrote yourself in configuration of your project? If you compile something as dll you don't need to mention its library as additional linking source in dependent projects. Pavel

[sqlite] Compiling SQLite as .lib increases project size and build time?

2009-12-17 Thread Kurt D. Knudsen
Hi all, Since we're moving our project over from flat-files to an SQL DB, I've noticed that projects that utilize SQLite3 have increased to over 500k in size. Their original sizes were between 50-100k. Also, the build times have increased dramatically. I have SQLite added as a separate project

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
Hi, thank you very much, I enjoy so much sqlite with ICU, I even installed the latest version of readline to enjoy characters like öäü and with the ICU collation the sort order is right with those characters. sqlite is really splendid! Thank you so much for having made this software. Best

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain Pointeau wrote: > just one last thing: > -lpthread -lm -L/usr/local/lib -licui18n -licuuc -licudata -lpthread -lm > > > could it be annoying for sqlite to be linked against pthread? Unless you compiled SQLite with SQLITE_THREADSAFE=0

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
super thank you! :-D just one last thing: -lpthread -lm -L/usr/local/lib -licui18n -licuuc -licudata -lpthread -lm could it be annoying for sqlite to be linked against pthread? Many thanks, Sylvain On Thu, Dec 10, 2009 at 7:45 PM, Roger Binns wrote: > -BEGIN

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain Pointeau wrote: > seems I found: > > ./configure CFLAGS="-DSQLITE_ENABLE_ICU" LDFLAGS="-L/usr/local/lib" > LIBS="-licudata -licui18n -licuio -licule -liculx -licutu -licuuc" > > is there any way to not list all the icu libs? Use icu-config.

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
seems I found: ./configure CFLAGS="-DSQLITE_ENABLE_ICU" LDFLAGS="-L/usr/local/lib" LIBS="-licudata -licui18n -licuio -licule -liculx -licutu -licuuc" is there any way to not list all the icu libs? Best regards, Sylvain On Thu, Dec 10, 2009 at 4:09 PM, Sylvain Pointeau <

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
./configure CFLAGS="-DSQLITE_ENABLE_ICU but after I have a linker problem: /bin/sh ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_ICU -I/usr/local/include -L/usr/local/lib -o libsqlite3.la-rpath /usr/local/lib -no-undefined -version-info 8:6:8 sqlite3.lo gcc

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
... I don't have this line in my Makefile.in ... Are you sure there is not an option to put in the "configure" command? Best regards, Sylvain On Thu, Dec 10, 2009 at 3:44 PM, Alexey Pechnikov wrote: > Hello! > > On Thursday 10 December 2009 17:40:24 Sylvain Pointeau

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Alexey Pechnikov
Hello! On Thursday 10 December 2009 17:40:24 Sylvain Pointeau wrote: > Thank you very much. > How should I do exactly with configure to enable this define ? You can simple replace the string TCC += -D_HAVE_SQLITE_CONFIG_H to TCC += -D_HAVE_SQLITE_CONFIG_H -DSQLITE_ENABLE_ICU in the Makefine.in

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
Hi, Thank you very much. How should I do exactly with configure to enable this define ? Cheers, Sylvain On Thu, Dec 10, 2009 at 11:31 AM, Simon Davies < simon.james.dav...@googlemail.com> wrote: > 2009/12/10 Sylvain Pointeau : > > Hi, > > > > I would like to use ICU

Re: [sqlite] compiling Sqlite with ICU

2009-12-10 Thread Simon Davies
2009/12/10 Sylvain Pointeau : > Hi, > > I would like to use ICU with sqlite, I am on mac os x 10.6.2 > How should I do? I installed ICU but sqlite3 seems to not check ICU when > compiling. > I would like to use ICU via the sqlite shell. > > Please could someone explain

[sqlite] compiling Sqlite with ICU

2009-12-10 Thread Sylvain Pointeau
Hi, I would like to use ICU with sqlite, I am on mac os x 10.6.2 How should I do? I installed ICU but sqlite3 seems to not check ICU when compiling. I would like to use ICU via the sqlite shell. Please could someone explain me how to use ICU with sqlite3 ? Cheers, Sylvain

[sqlite] Compiling SQLite on Windows from the basic sources

2009-09-22 Thread Eli
The preferred and recommended way of compiling SQLite on Windows is using the single .C "amalgamation" file. However, this isn't a suitable method when I want to tinker with the source code of SQLite and compile it to see the effects. The single .C file isn't convenient for development. I

[sqlite] Compiling SQLite with custom readline

2009-09-02 Thread Alberto Simões
Hello I am trying to find out why my SQLite does not accept non ascii characters. So, I compiled readline 6.0 and tried to compile sqlite with it. As you might imagine at first SQLite detects the system (MAC OS) readline library. To use a custom readline I noticed in the configure script:

[sqlite] Compiling sqlite using chars unsigned by default

2009-05-08 Thread Axel Mammes
Great! Thanks. On May 8, 2009, at 3:34 PM, Axel Mammes wrote: > Hi, I am using the ARM RVDS 2.0.1 compiler to try to get SQLite on a > VeriFone Vx570 point of sale terminal running VerixV operating > system. I am > still working on getting it to work, but before I continue I need to > know if >

Re: [sqlite] Compiling sqlite using chars unsigned by default

2009-05-08 Thread D. Richard Hipp
On May 8, 2009, at 3:34 PM, Axel Mammes wrote: > Hi, I am using the ARM RVDS 2.0.1 compiler to try to get SQLite on a > VeriFone Vx570 point of sale terminal running VerixV operating > system. I am > still working on getting it to work, but before I continue I need to > know if > the fact

[sqlite] Compiling sqlite using chars unsigned by default

2009-05-08 Thread Axel Mammes
Hi, I am using the ARM RVDS 2.0.1 compiler to try to get SQLite on a VeriFone Vx570 point of sale terminal running VerixV operating system. I am still working on getting it to work, but before I continue I need to know if the fact that chars are unsigned by default will break sqlite build. Thanks

[sqlite] compiling sqlite-3.4.0: undefined reference to `dlclose'

2007-07-03 Thread Makavy, Erez (Erez)
Hi, The problem: == When cross-compiling sqlite-3.4.0, I encounter this linkage error: ./.libs/libsqlite3.so: undefined reference to `dlclose' ./.libs/libsqlite3.so: undefined reference to `dlopen' ./.libs/libsqlite3.so: undefined reference to `dlsym' The solution: === I

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
On 5/12/07, Alberto Simões <[EMAIL PROTECTED]> wrote: I am compiling *manually* sqlite3 in my Mac OS. Configured without tcl, and with prefix /usr/local. (--disable-tcl --prefix=/usr/local) I get this while compiling: ... gcc -L/sw/lib -I/sw/include -g -O2 -I. -I./src -DNDEBUG

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
Ok, I didn't explain correctly. This time I am not using fink :) Argh. Not being native english speaker sometimes sucks. Let start again. I am compiling *manually* sqlite3 in my Mac OS. Configured without tcl, and with prefix /usr/local. (--disable-tcl --prefix=/usr/local) I get this while

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
On 5/12/07, P Kishor <[EMAIL PROTECTED]> wrote: On 5/12/07, Alberto Simões <[EMAIL PROTECTED]> wrote: > On 5/11/07, P Kishor <[EMAIL PROTECTED]> wrote: > > > Just download the latest source code and compile a new sqlite3 with > > it. All will be well. > > I am trying to compile SQLite under Mac

Re: [sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread P Kishor
On 5/12/07, Alberto Simões <[EMAIL PROTECTED]> wrote: On 5/11/07, P Kishor <[EMAIL PROTECTED]> wrote: > Just download the latest source code and compile a new sqlite3 with > it. All will be well. I am trying to compile SQLite under Mac OS. Normally I use fink but it includes an old version of

[sqlite] Compiling SQLite under Mac OS (was: unsupported file format)

2007-05-12 Thread Alberto Simões
On 5/11/07, P Kishor <[EMAIL PROTECTED]> wrote: Just download the latest source code and compile a new sqlite3 with it. All will be well. I am trying to compile SQLite under Mac OS. Normally I use fink but it includes an old version of SQLite. Configured without tcl, and with prefix

Re: [sqlite] Compiling Sqlite with Openwatcom

2006-10-25 Thread Arjen Markus
[EMAIL PROTECTED] wrote: Hi Arjen Unfortunately I am still using f77 not f90... Hello Victor, any specific reason? There are lots of (free) Fortran 90 compilers around, and unless I am mistaken the Openwatcom compiler supports Fortran 90 (after all, the standard is more than 20 years

Re: [sqlite] Compiling Sqlite with Openwatcom

2006-10-25 Thread victor . camus
Hi Arjen Unfortunately I am still using f77 not f90... Selon Arjen Markus <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > >Hi All, > > > >I wonder whether anyone has already compiled Sqlite with Openwatcom (a free > >compiler suite available at www.openwatcom.org including a C/C++/Fortran >

Re: [sqlite] Compiling Sqlite with Openwatcom

2006-10-25 Thread Arjen Markus
[EMAIL PROTECTED] wrote: Hi All, I wonder whether anyone has already compiled Sqlite with Openwatcom (a free compiler suite available at www.openwatcom.org including a C/C++/Fortran compiler). Since when I tried, I got the following compiling error on line 95 of the file sqlite3ext.h: invalid

[sqlite] Compiling Sqlite with Openwatcom

2006-10-25 Thread victor . camus
Hi All, I wonder whether anyone has already compiled Sqlite with Openwatcom (a free compiler suite available at www.openwatcom.org including a C/C++/Fortran compiler). Since when I tried, I got the following compiling error on line 95 of the file sqlite3ext.h: invalid declarator i.e.

Re: [sqlite] Compiling SQLite 3 on Windows

2006-08-11 Thread drh
Shawn Walker <[EMAIL PROTECTED]> wrote: > Do I need to compile SQLite 3 source code with "-DNDEBUG" for the no debug > version? I see "NDEBUG" in the source, but wasn't sure. > No. -- D. Richard Hipp <[EMAIL PROTECTED]>

[sqlite] Compiling SQLite 3 on Windows

2006-08-11 Thread Shawn Walker
Do I need to compile SQLite 3 source code with "-DNDEBUG" for the no debug version? I see "NDEBUG" in the source, but wasn't sure. Thanks, Shawn

Re: [sqlite] compiling sqlite

2006-06-22 Thread Nuno Lucas
On 6/21/06, Robin Cook <[EMAIL PROTECTED]> wrote: Tried to compile 2.8.16 but got the below errors. Any suggestions? Thanks. C:\Windows CE Tools\wce211\PDT7200\Samples\sqlite\btree_rb.c(314) : warning C4013: 'printf' undefined; assuming extern returning int This is unused debug code. You can

Re: [sqlite] compiling sqlite

2006-06-21 Thread Robin Cook
Tried to compile 2.8.16 but got the below errors. Any suggestions? Thanks. C:\Windows CE Tools\wce211\PDT7200\Samples\sqlite\btree_rb.c(314) : warning C4013: 'printf' undefined; assuming extern returning int C:\Windows CE Tools\wce211\PDT7200\Samples\sqlite\vdbe.c(389) : warning C4013: 'getc'

Re: [sqlite] compiling sqlite

2006-06-19 Thread Nuno Lucas
On 6/19/06, Robin Cook <[EMAIL PROTECTED]> wrote: Is it possible to compile sqlite on embedded visual c 3.0 for wince 2.11 without MFC and TCL/TK on a Symbol PDT7242 barcode scanner. You should be able to use the 2.8.16 source in the sqlite-wince.sf.net site (maybe with one or other tweak as

[sqlite] compiling sqlite

2006-06-18 Thread Robin Cook
Is it possible to compile sqlite on embedded visual c 3.0 for wince 2.11 without MFC and TCL/TK on a Symbol PDT7242 barcode scanner. I have tried with the already preprocessed windows source but keep getting error with missing header files like assert.h etc. I am unable to use the dll as it

Re: [sqlite] Compiling Sqlite JDBC driver (Compiler question)

2006-05-16 Thread Christian Werner
[EMAIL PROTECTED] wrote: > > Christian, > > I understand Windows is poor, but I do not fully understand the > compilation process. The mkopc3.exe is actually created- so this itself > cannot be the problem. Not having awk doesn't seem to be an issue for > compiling the 3.2.1-based driver either

RE: [sqlite] Compiling Sqlite JDBC driver (Compiler question)

2006-05-16 Thread andreas.goetz
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Werner Sent: Dienstag, 16. Mai 2006 09:04 To: sqlite-users@sqlite.org Subject: Re: [sqlite] Compiling Sqlite JDBC driver (Compiler question) [EMAIL PROTECTED] wrote: > > After I've bee

Re: [sqlite] Compiling Sqlite JDBC driver (Compiler question)

2006-05-16 Thread Christian Werner
[EMAIL PROTECTED] wrote: > > After I've been able to overcome the initial compiler problem (missing > library installation), I'm faced with a new one: > > 1) Compiling JDBC wrapper for 3.2.1 works fine > > 2) Compiling JDBC wrapper for 3.3.5 fails: > > cl -Gs -EHsc -D_WIN32 -nologo -Zi

RE: [sqlite] Compiling Sqlite JDBC driver (Compiler question)

2006-05-15 Thread andreas.goetz
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 11. Mai 2006 11:26 To: sqlite-users@sqlite.org Subject: [sqlite] Compiling Sqlite JDBC driver (Compiler question) Hello, I hope this isn't too off-topic, really more a compiler question than SQLITE. I'm trying to compile

Re: [sqlite] Compiling Sqlite JDBC driver (Compiler question)

2006-05-11 Thread Anders Persson
I don't know if this helps but when i was building a static version for Windows 1. maked a static dll project and added all files but NOT precompiled WIndows stufff.. If i added use precompiled windowsfile it never compiled.. // Anders [EMAIL PROTECTED] skrev: Hello, I hope this isn't too

[sqlite] Compiling Sqlite JDBC driver (Compiler question)

2006-05-11 Thread andreas.goetz
Hello, I hope this isn't too off-topic, really more a compiler question than SQLITE. I'm trying to compile Christian Werner's Sqlite JDBC driver under WinXP using Platform SDK and VS2005. This process breaks with the follwing error message: Microsoft (R) Program Maintenance Utility Version

Re: [sqlite] Compiling SQLite and MAX_ATTACHED databases

2005-11-10 Thread Dan Kennedy
> #define MAX_ATTACHED 10 > > Is this a per-process limit, or a per-sqlite3 handle limit? It's per-handle. Also, if you haven't found it already, this page has some of the compilation options you can set: http://www.sqlite.org/compile.html

Re: [sqlite] Compiling sqlite 3.0.8 on SuSE 9.2

2004-11-12 Thread die-bru
Hi, the failure was sitting before the monitor ;-) I've removed the unpacked sqlite folder and unpacked it again. Now the compilation of version 3 was successfully. My fault was to unpack and compile sqlite Version2 and then to unpack and compile Version3. In consequence that the folder for

Re: [sqlite] Compiling sqlite 3.0.8 on SuSE 9.2

2004-11-12 Thread die-bru
Hi, the Makefile.linux-gcc renamed in Makefile produces the same error output. Now I've tried to install the rpm, but this results to another failure: rpm -i sqlite-3.0.8-1.i386.rpm error: Failed dependencies: libreadline.so.4 is needed by sqlite-3.0.8-1 SuSE 9.2 has libreadline.so.5

Re: [sqlite] Compiling sqlite 3.0.8 on SuSE 9.2

2004-11-12 Thread John Dean
Hi Richard May I suggest that you take a look at scons. Scons is much better than autotools and it doesn't suffer from any of the compatibility problems. Scons can be download from http://www.scons.org/ I would like to offer our services in writing a scons script for you. BTW scons is a Python

Re: [sqlite] Compiling sqlite 3.0.8 on SuSE 9.2

2004-11-12 Thread D. Richard Hipp
[EMAIL PROTECTED] wrote: Hi, I have problems to compile sqlite version 3 on SuSE 9.2. The 2.8.15 Version compiled successfully. Configure seems to work fine but when I invoke make the compilation stops with following error output: ./libtool --mode=compile gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I.

  1   2   >