> On Jun 25, 2009, at 4:23 PM, Ben Atkinson wrote:

>> I have an embedded Linux ARM target and wish to run sqlite on it.  I  
>> successfully cross-compiled sqlite-3.6.15 on my Ubuntu x86 host, and  
>> now I'm ready to install sqlite3, its libraries, and headers on my  
>> target system.
>> I originally tried compiling sqlite on my embedded target system.   
>> Because it has only a flash file system, and there is no swap area,  
>> gcc fails because it runs out of memory.
>> I tried zipping up the cross-compiled sqlite-3.6.15 directory from  
>> my x86 host into a tar.gz file, downloading it to my target,  
>> unzipping it, then running "make install".  Because the config files  
>> and the Makefile have all of the arm-unknown-linux-gnueabi cross- 
>> compiler references to gcc, this doesn't match the actual  
>> configuration on my embedded target, and the make fails.
>> Before I start hacking into the sqlite config and Makefiles on my  
>> embedded target, has someone already been through this and perhaps  
>> has a "howto"?  Is there already a recipe in the Makefile for this?

On Jun 25, 2009, at 4:27 PM, D. Richard Hipp wrote:

> What are you trying to install?  The command-line shell?  A shared  
> library?  If the latter, why do you need or want a shared library on  
> your embedded system.  Are aware that the command-line shell is a  
> single stand-alone binary with no dependencies other than libc?

I will be writing a C/C++ program that will use sqlite for data storage,
so I will need the headers and shared library to link sqlite into my
program.  I also want to use the sqlite executable to examine the
database from the command line.

> Are you using the amalgamation tarball?  Or the separate source files  
> tarball?

I'm using the amalgamation tarball.



sqlite-users mailing list

Reply via email to