Hi,
Is there anyway to compile the sqlite on uvision compiler?
Thanks Michael
I haven't done it myself, but according to the official web site it should be relatively straightforward:
www.sqlite.org/custombuild.html
Okay , but i am working with realview libraries and not with GCC. is it still possible?
I just tried it - it does compile.
Hi Mike,
Can you please explain how did you do that? i am not able to compile it . I am using uvision 4 ,where ARM development tool is realview ,and not GCC.
Please explain
Why don't you post any information about in what way you fail?
for starters it missing alot of header files like :"pwd.h" and "pthread.h" ,that are available in GCC ,but not available in realview .
Source/shell.c(42): error: #5: cannot open source input file "pwd.h": No such file or directory Source/sqlite3.c(17785): error: #5: cannot open source input file "pthread.h": No such file or directory
Michael
Can you please explain how did you do that?
Created a new project, added the amalgamation version of SQLite (sqlite3.c) file to the project. Obviously, sqlite3.h has to be there too. Had to add two defines (SQLITE_THREADSAFE=0 SQLITE_OS_OTHER=1) to make it compile. That's pretty much it.
Ok,
But Sqlite3 compiled correctly,but what about shell.c? or this file is not relevant ? is that its the command line utility .
I added the arguments SQLITE_THREADSAFE=0 SQLITE_OS_OTHER=1 to the preprocessor symbols.
View all questions in Keil forum