How to build sqlite CLI arm

0
205
02.11.2024

Download the SQLITE amalgamation source code at https://www.sqlite.org/download.html like sqlite-amalgamation-3470000.zip

Unzip sqlite-amalgamation-3470000.zip and cd to the Dir then use this command:


aarch64-linux-musl-gcc                                                                \
    -DSQLITE_ENABLE_FTS5                                                               \
    -DSQLITE_THREADSAFE=1                                                              \
    -DHAVE_USLEEP                                                                       \
shell.c sqlite3.c -lpthread -ldl -lm -static -O2 -s -o sqlite3

How to build sqlite CLI arm

0