RE: [sqlite] disabling large file support

2006-06-09 Thread Doug Shelton
> > > >gcc -g -O2 -DOS_BEOS=1 -DSQLITE_DISABLE_LFS -DHAVE_USLEEP=1 -I. -I./src > -DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 > -DSQLITE_OMIT_CURSOR > > -DHAVE_READLINE=0 -o sqlite3 ./src/shell.c ./.libs/libsqlite3.a > -lroot -lbe -lreadline $ sqlite3 test.db SQLite version 3.3.5 Ent

Re: [sqlite] disabling large file support

2006-06-09 Thread Doug Shelton
Hi Christian, We're using a derivative of os_unix.c from the 3.3.5 source package; the checks are in the code to look for the SQLITE_DISABLE_LFS flag; as you can see, it's being set duing the build process. Yet the resulting code somehow seems to be looking for LFS. BeOS does have a POSIX-lik

Re: [sqlite] disabling large file support

2006-06-09 Thread Christian Smith
On Thu, 8 Jun 2006, Doug Shelton wrote: How does one disable large file support? As mentioned in comments, I've added -DSQLITE_DISABLE_LFS to the Makefile, but continue to get errors indicating lack of kernel support for large files. The following lines are the end of my compile (so you can

RE: [sqlite] disabling large file support

2006-06-09 Thread Brandon, Nicholas (UK)
>gcc -g -O2 -DOS_BEOS=1 -DSQLITE_DISABLE_LFS -DHAVE_USLEEP=1 -I. -I./src -DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_CURSOR > -DHAVE_READLINE=0 -o sqlite3 ./src/shell.c ./.libs/libsqlite3.a -lroot -lbe -lreadline $ sqlite3 test.db SQLite version 3.3.5 Enter ".help" for