On Sun, 31 Jul 2011 09:54:29 +0300, Baruch Burstein
<bmburst...@gmail.com> wrote:

> Can you refer me to instructions on building the amalgamation? The SQLite
> website only says something like "Download the source, hand edit the make
> file, and run make". Very unhelpful as I don't know what to do with the make
> file.

sqlite-autoconf-3070701.tar.gz contains a README file.

./configure, optionally called with appropriate options will
create a makefile for your platform. The README tells you how to
specify compiler options 

So, compiling and installing of the sqlite3 command line tool and
library is the canonical sequence:

CFLAGS="your_cflags_here" ./configure [options] \
&& make \
&& sudo make install \
&& make clean

If you want to embed sqlite in your application, you don't need
the sqlite Makefile at all. Just add sqlite3.c to your project.
You may need sqlite3.h, it is contained in the tarball.
In that case, you will have to edit the Makefile of your project
(or update the project configuration in your development tool), 
and pass compiler flags in a way your platform / development tool
/ makefile require.

See also:
 http://www.sqlite.org/amalgamation.html 

If you need more specific help, please pose more specific
questions.
-- 
  (  Kees Nuyt
  )
c[_]
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to