source upload
This commit is contained in:
17
contrib/mORMot/SQLite3/amalgamation/compile-fpc-arm-linux.sh
Normal file
17
contrib/mORMot/SQLite3/amalgamation/compile-fpc-arm-linux.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
ARCH=arm-linux
|
||||
|
||||
CROSS=/home/ab/fpcup/cross/bin/$ARCH
|
||||
GCC=$CROSS/arm-linux-gnueabihf-gcc
|
||||
DST=../../static/$ARCH/sqlite3.o
|
||||
|
||||
rm $DST
|
||||
rm sqlite3-$ARCH.o
|
||||
|
||||
echo
|
||||
echo ---------------------------------------------------
|
||||
echo Compiling for FPC on $ARCH using $GCC
|
||||
$GCC -static -O1 -marm -march=armv7-a+fp -I$CROSS/include -DNDEBUG -DNO_TCL -D_CRT_SECURE_NO_DEPRECATE -D__ARM_PCS_VFP -mfloat-abi=hard -c sqlite3mc.c -o sqlite3-$ARCH.o
|
||||
cp sqlite3-$ARCH.o $DST
|
||||
|
Reference in New Issue
Block a user