Re: [sqlite] SQLITE 64bit Application Support?

2012-06-29 Thread Pam Li




Thanks very much, Stephen and Roger, for your time and help.
 
pam
 
> Date: Fri, 29 Jun 2012 17:31:21 -0700
> From: rog...@rogerbinns.com
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] SQLITE 64bit Application Support?
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 29/06/12 16:56, Pam Li wrote:
> > Question:Should we continue building it as a 32 bit library, and link
> > it with 64 bit product
> 
> It is virtually impossible to link a 32 bit library into a 64 bit product.
>  As an example a 64 bit pointer can't be passed to 32 bit code since it
> won't fit.
> 
> SQLite works just fine in 32 or 64 bits.  And either endian.  And on lower
> end platforms.  And on stonking big machines.  Here is the reason why:
> 
>   http://www.sqlite.org/testing.html
> 
> That page doesn't mention the different hardware SQLite is tested on, but
> it is quite a variety and takes a long time.
> 
> Roger
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
> 
> iEYEARECAAYFAk/uSNkACgkQmOOfHg372QTYTgCcDzZEPE1wdZm4DBbbQmqeyH4D
> 2YoAnAtsCH9Eh3qdRJHk6iKUQS7sKl7E
> =Vtwi
> -END PGP SIGNATURE-
> ___
> 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 64bit Application Support?

2012-06-29 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/06/12 16:56, Pam Li wrote:
> Question:Should we continue building it as a 32 bit library, and link
> it with 64 bit product

It is virtually impossible to link a 32 bit library into a 64 bit product.
 As an example a 64 bit pointer can't be passed to 32 bit code since it
won't fit.

SQLite works just fine in 32 or 64 bits.  And either endian.  And on lower
end platforms.  And on stonking big machines.  Here is the reason why:

  http://www.sqlite.org/testing.html

That page doesn't mention the different hardware SQLite is tested on, but
it is quite a variety and takes a long time.

Roger
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk/uSNkACgkQmOOfHg372QTYTgCcDzZEPE1wdZm4DBbbQmqeyH4D
2YoAnAtsCH9Eh3qdRJHk6iKUQS7sKl7E
=Vtwi
-END PGP SIGNATURE-
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLITE 64bit Application Support?

2012-06-29 Thread Stephan Beal
On Sat, Jun 30, 2012 at 1:56 AM, Pam Li  wrote:

> Hello, We use SQLite C/C++ API interface.  We are in the process of
> migrating our product (a C/C++ application) from 32 bit to 64 bit.  We
> build our own SQLite library with SQLite source code.   Question:Should we
> continue building it as a 32 bit library, and link it with 64 bit product,
> or we can build it as a 64 bit library (Windows, Linux and Solartis)?
>

It works just fine built in 64-bit mode.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users