Re: [sqlite] sqlite on mac os x 64 bits

2010-05-18 Thread Sylvain Pointeau
Hello,

many thanks for your answer,

I tried the command "file" on the current lib that I just built
(by ./configure CFLAGS="-DSQLITE_ENABLE_ICU `icu-config --cppflags`"
LDFLAGS="`icu-config --ldflags`")

it gives:
$ file /usr/local/lib/libsqlite3.dylib
/usr/local/lib/libsqlite3.dylib: Mach-O 64-bit dynamically linked shared
library x86_64

so it is 64 bits by default... this is what I mean, in my opinion.

Best regards,
Sylvain

On Tue, May 18, 2010 at 2:51 PM, Doug Currie  wrote:

>
> 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
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] sqlite on mac os x 64 bits

2010-05-18 Thread Doug Currie

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


[sqlite] sqlite on mac os x 64 bits

2010-05-18 Thread Sylvain Pointeau
hello,

I am generally doing:
./configure
make
sudo make install

for having sqlite in my /usr/local/ directory.

but is it 64 bits? or do I have to add a special option?

Best regards,
Sylvain
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users