On Sun, Jun 07, 2009 at 09:26:03AM +1000, Mark Constable scratched on the wall: > On Sunday 07 June 2009 00:15:21 Jay A. Kreibich wrote: > > > Howdy, I'd like to end up with a shared NON-threaded NON-TCL binary > > > but also with a libsqlite3.a static lib. Could anyone suggest how I > > > could alter this Makefile to support these requirements please? > > > > Assuming you're using the amalgamation, the Makefile is for use > > with "configure". It isn't designed to be hand-edited. > > Thank you for a clear and thorough response. > > I should have mentioned I'm building (unofficial) Archlinux binary > packages from CVS. This used to work (at least it did for the > downloadable package)...
I'm not all that familiar with the CVS builds. > It stopped working so I RTFM and noted that configure from CVS is > not guaranteed to always work so I was going to provide my own > modified copy of Makefile.linux-gcc. Yeah, for good or for bad, the amalgamation is "the" build method. > > $ cc -DTHREADSAFE=0 -c sqlite3.c # build sqlite3.o > > $ cc -o sqlite3 sqlite3.o shell.c # build sqlite3 binary > > $ ar cru libsqlite3.a sqlite3.o # build libsqlite3.a > > Is there a previous step need for a CVS checkout? Yes, but since I don't work with CVS I'm not exactly sure what it is. In the brief time between when the amalgamation was introduced and when it became the official distribution, there was a "make amalgamation" target. The current process appears to require running the tool/mksqlitec.tcl script. Obviously, that requires TCL. You might start here: http://www.sqlite.org/cvstrac/wiki?p=SqliteBuildProcess -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Our opponent is an alien starship packed with atomic bombs. We have a protractor." "I'll go home and see if I can scrounge up a ruler and a piece of string." --from Anathem by Neal Stephenson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users