Hi Nicholas, Dr. David,

Thanks for help.

I got it working by using the /opt/apps/SunStudio11/SUNWspro/bin/cc compiler

with "-xarch=v9 -xcode=abs64" as CFLAGS.


Regards,
Sushil.



On Thu, Jun 24, 2010 at 10:26 PM, Nicolas Williams <
nicolas.willi...@oracle.com> wrote:

> On Thu, Jun 24, 2010 at 01:37:50PM +0530, Sushil wrote:
> > I am looking for 64 bit libsqlite for AIX and Solaris. Is there a
> > place from where I can get them pre-built ?
>
> For OpenSolaris you can find SQLite3 packages, including a 64-bit build
> of the library, in the OpenSolaris IPS /release package repository.
>
> > I have downloaded sqlite-amalgamation-3.6.23.1.tar and building it.
> > But I don't see any option in configure to build it for 64 bits. Will
> > the default library built be 64 bits. ?  If not, then how to build
> > them ?
>
> SQLite3 has no option for building both, 32- and 64-bit objects, nor
> does it have an option to build either.  Which of 32- or 64-bit objects
> you get depends on your compiler's defaults and your CFLAGS.
>
> So, to build SQLite3 in 32- and 64-bit you need to build it twice, and
> one of those times at lease you'll have to add "CFLAGS=..." to your
> ./configure command-line, with <...> replaced with whatever options your
> compiler needs in order to produce whichever of 32- or 64-bit object
> code you want.
>
> Nico
> --
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to