Transplanting SQLite3 to Xinlingsi Sinlinx A64 development board
Development platform Lingsi Sinlinx A64
Memory: 1GB storage: 4GB
Detailed parameters of the development board https://m.tb.cn/h.3wMaSKm
Development board communication group 641395230
First go to http://www.sqlite.org/download.html to download the source code of the linux version
I downloaded sqlite-autoconf-3270200.tar.gz.
The new directory / work/install is used to store the lib library functions and executables generated later.
Extract tar-zxvf sqlite-autoconf-3270200.tar.gz-C / work/install
Enter the unzipped file directory
Cd sqlite-autoconf-3270200/
Run command
. / configure-prefix=/work/install-host=arm-linux CC=/opt/arm-2014.05/bin/arm-none-linux-gnueabi-gcc
-- prefix specifies the path to the generated file after cross-compilation of the source code, pointing to the directory / work/install
-- host specifies that the software running environment is arm-linux
CC is assigned to the cross-compiler tool used in the embedded development environment, followed by its own cross-compiler path.
Run make
Run make install
Ls / work/install
Copy the following files to the specified directory on the development board
/ work/install/bin/sqlite3-> Development Board / bin directory
/ work/install/lib/libsqlite3.so-> Development Board / lib directory
/ work/install/lib/libsqlite3.so.0.8.6-> Development Board / lib directory
/ work/install/lib/libsqlite3.so.0-> Development Board / lib directory
Run sqlite3 at the terminal of the development board