On May 18, 2010, at 4:14 AM, Sylvain Pointeau wrote: > but is it 64 bits? or do I have to add a special option?
Last time I built a Universal Binary sqlite3 on OS X (March 2010 3.6.22) I had to CFLAGS='-arch i686 -arch x86_64' LDFLAGS='-arch i686 -arch x86_64' ./configure --disable-dependency-tracking Without the --disable-dependency-tracking configure gets confused; alternatively you can # edit Makefile removing -M options # basically turning the .c.o and .c.lo rules into # $(COMPILE) -c -o $@ $< # $(LTCOMPILE) -c -o $@ $< You can use the file command to reveal the library's compatible machine architectures, e.g., ~ e$ file /usr/local/lib/libsqlite3.dylib /usr/local/lib/libsqlite3.dylib: Mach-O universal binary with 2 architectures /usr/local/lib/libsqlite3.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/local/lib/libsqlite3.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 ~ e$ file /usr/local/lib/libsqlite3.a /usr/local/lib/libsqlite3.a: Mach-O universal binary with 2 architectures /usr/local/lib/libsqlite3.a (for architecture i386): current ar archive random library /usr/local/lib/libsqlite3.a (for architecture x86_64): current ar archive random library ~ e$ e _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users