Help!

Difficulty in cross compiling Sqlite for ARM


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development RSS
Next:  To protect a file from external editing/removal  
Author Message
kracks
External


Since: Jun 08, 2007
Posts: 33



PostPosted: Tue Jul 17, 2007 6:12 am    Post subject: Difficulty in cross compiling Sqlite for ARM
Archived from groups: comp>os>linux>development>apps (more info?)

Hi,
I am working with ARM920CPU.
I have difficulty in cross compiling Sqlite for Target device,
I followed the steps given in Sqlite.
But the libraries and other supporting files for Sqlite are going to
file system of Linux PC but not to filesystem of my target device ARM.

I downloaded Sqlite from web and next i gave
.... /configure --host=arm-linux/
But its not cross compiling for ARM and i have difficulty in
installing files of Sqlite in rootfile system of target device.

Pls. help in resolving this problem

Pls. brief me steps for porting SQLite to ARM processor.
It will be helpful for me.

Regards,
Kirthika.
Back to top
Ulrich Eckhardt
External


Since: Jul 30, 2004
Posts: 83



PostPosted: Tue Jul 17, 2007 4:56 pm    Post subject: Re: Difficulty in cross compiling Sqlite for ARM [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

kracks wrote:
> I followed the steps given in Sqlite.
> But the libraries and other supporting files for Sqlite are going to
> file system of Linux PC but not to filesystem of my target device ARM.
>
> I downloaded Sqlite from web and next i gave
> ... /configure --host=arm-linux/

Some notes here:
0. '--host' is typically a canonical platform name, not a path, so why the
trailing slash?
1. SQLite might not be prepared for cross-compilation. Check this with the
SQLite people.
2. Typically, you also set CC=gcc-arm-linux or whatever the cross-gcc is
called. The same goes for other similar tools.
3. You need to tell it where to install, too. With autotools, that would be
the path it has when installed on the target (e.g. /usr). You then
invoke 'make install' with a different prefix or from a chroot to put it
into a temporary dir.

> But its not cross compiling for ARM and i have difficulty in
> installing files of Sqlite in rootfile system of target device.

Well, the amount of relevant information you gave is pretty much zero, you
know that? If you still have problems, you might consider reading Eric S.
Raymond's very good essay on asking smart questions first, because the way
you are asking (or, rather, not asking) is not bringing you further.

Uli
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum