Get the App
SLTechnology News&Howtos  ›  Servers  › 

Transplanting SQLite3 to Xinlingsi Sinlinx A64 development board

Shulou Source: shulou.com Published: 2022-06-02 06:54:17 10月03日 Update

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

Tags: Development directory run file cross compile source code environment path memory function parameter epigenetic command embedded tool platform development platform copy point to Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Docker Redmi Huawei Xiaomi