Math Processor Unit Library

libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity

16 Commits   0 Branches   2 Tags
868b2b66 (kx 2024-12-20 16:11:07 +0300  1) #!/bin/sh
868b2b66 (kx 2024-12-20 16:11:07 +0300  2) 
868b2b66 (kx 2024-12-20 16:11:07 +0300  3) cd ../..
868b2b66 (kx 2024-12-20 16:11:07 +0300  4) 
868b2b66 (kx 2024-12-20 16:11:07 +0300  5) TARGET_DEST_DIR=/home/kx/prog/scm/svn/platform/trunk-672/dist/.s9xx-glibc/enybox-x2
868b2b66 (kx 2024-12-20 16:11:07 +0300  6) TOOLCHAIN_PATH=/opt/toolchain/aarch64-S9XX-linux-glibc/1.1.4/bin
868b2b66 (kx 2024-12-20 16:11:07 +0300  7) TARGET=aarch64-s9xx-linux-gnu
868b2b66 (kx 2024-12-20 16:11:07 +0300  8) 
868b2b66 (kx 2024-12-20 16:11:07 +0300  9) TARGET_INCPATH="-L${TARGET_DEST_DIR}/usr/include"
868b2b66 (kx 2024-12-20 16:11:07 +0300 10) CFLAGS="${TARGET_INCPATH}"
868b2b66 (kx 2024-12-20 16:11:07 +0300 11) CPPFLAGS="${TARGET_INCPATH}"
868b2b66 (kx 2024-12-20 16:11:07 +0300 12) LDFLAGS="-L${TARGET_DEST_DIR}/lib -L${TARGET_DEST_DIR}/usr/lib"
868b2b66 (kx 2024-12-20 16:11:07 +0300 13) 
868b2b66 (kx 2024-12-20 16:11:07 +0300 14) 
868b2b66 (kx 2024-12-20 16:11:07 +0300 15) DIALOG_CONFIG=${TARGET_DEST_DIR}/usr/bin/dialog-config \
868b2b66 (kx 2024-12-20 16:11:07 +0300 16) STRIP="${TOOLCHAIN_PATH}/${TARGET}-strip" \
868b2b66 (kx 2024-12-20 16:11:07 +0300 17) CC="${TOOLCHAIN_PATH}/${TARGET}-gcc --sysroot=${TARGET_DEST_DIR}" \
868b2b66 (kx 2024-12-20 16:11:07 +0300 18) ./configure --prefix=/usr \
868b2b66 (kx 2024-12-20 16:11:07 +0300 19)   --build=x86_64-pc-linux-gnu --host=${TARGET}