The same error attempt to index a nil value is reported, but no more ndless memory error.
By the way, I configured GMP/MPFR/MPFI with
- Code: Tout sélectionner
export CC=nspire-gcc
export CXX=nspire-g++
export LD=nspire-ld
export AS=nspire-as
export NM=/home/parisse/Ndless/ndless-sdk/toolchain/install/bin/arm-none-eabi-nm
export RANLIB=/home/parisse/Ndless/ndless-sdk/toolchain/install/bin/arm-none-eabi-ranlib
# GMP/MPFR configure command
./configure --host=none --prefix=/home/parisse/Ndless/ndless-sdk
make
make install
I had to add a define in a .c file in GMP to compile it properly
mpn/div_qr_1n_pi1.c:#define __CLOBBER_CC : "cc"
mpn/div_qr_1n_pi1.c:#define __AND_CLOBBER_CC , "cc"
MPFR/MPFI no change.
Inside giac-1.2.0 (latest tarball), copy config.h.nspire to config.h, and make -f Makefile.nspire
I had to add a missing.c file with
- Code: Tout sélectionner
#include <sys/times.h>
// missing _times function in libc
clock_t _times(struct tms *ptms){
return 0;
}
because otherwise libg did not link (missing symbol).