SQLite Forum

How to get sqlite3.o 32bit
Login

How to get sqlite3.o 32bit

(1) By rdipalma on 2020-07-29 09:48:50 [link] [source]

Hi. I wrote a C ++ program that uses sqlite3 functions. I used a devC ++ IDE. I have successfully obtained a 64-bit version of my program. But I have the problem with 32 bits. Because the linker tells me that sqlite3.o is not fair to get a 32 bit version. How do I get a 32bit version of sqlite3.o?

(2) By Gunter Hick (gunter_hick) on 2020-07-29 10:15:42 in reply to 1 [link] [source]

a) visit the download page https://sqlite.org/download.html to check if there is a 32 bit precompiled binary for your (as yet unspecified) platform

b) build one from source, also available on the download page

(3) By rdipalma on 2020-07-29 10:20:35 in reply to 2 [link] [source]

Thanks to Gunter for your answer. My platform is Windows. I try to do what you told me.

(4) By rdipalma on 2020-07-29 10:36:23 in reply to 3 [source]

Thanks to Gunter for your answer. My platform is Windows. I haven't found the sqlite3.o file for 32 bits. Other ideas?

(5) By rdipalma on 2020-07-29 10:40:19 in reply to 2 [link] [source]

Hi. I have solved. It was enough to compile like this: gcc -g -O -c -m32 sqlite3.c Thanks