On Thu, 2 Dec 2010 15:17:28 -0500, Eric Smith <eas....@gmail.com> wrote: >You can do it on the command line -- just try it.
Sorry guys for being dense: After rereading the above, it clicked: The "-lpthread" option must be put on the line when linking the three object files to create the final .so file: #config LDFLAGS=-lpthread #Makefile src/$(LIBNAME): $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $(LIB_OPTION) -o $@ $(OBJS) /usr/src/sqlite-3.7.3/preprocessed/libsqlite3.o I'm surprised, though, that I don't first need to cross-compile the pthread library before the linker includes it in the final binary (sqlite3.so). >gcc == command line tool for preprocessing/compiling/linking C >programs. > >GCC == GNU Compiler Collection, a suite of tools for compiling tons of >different languages. See http://gcc.gnu.org. Thanks for pointing out the difference. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users