linux - cross compiling sqlite for arm arm926ej-s -


what did is
downloaded , extracted sqlite on ubuntu

$ sudo ./configure --host=arm-linux cc=arm-linux-gnueabi-gcc ar=arm-linux-gnueabi-ar strip=arm-linux-gnueabi-strip ranlib=arm-linux-gnueabi-ranlib cflags="-mtune=arm926ej-s -mfpu=vfp -os -lpthread -lrt" ldflags=${ldflags} $ make $ make install  destdir=/sqlite 

then copied usr folder inside /sqlite /usr inside qemu disk image booted debian arm on qemu

entered sqlite3 happened

enter image description here

*when type sql + [tab] auto completes
*i did root, not used sudo
*my reference http://www.friendlyarm.net/forum/topic/1522#7386


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -