Hi
Jean -Philippe,in order to compile nsp on parallella (https://www.parallella.org/) I had to make the following steps on sources (using today downloaded cvs sources nsp2_trunk_2019-01-23): 1. run ./configure --host armv7-pc-linux-gnu'' since the detected host type is armv7l-unknown-linux-gnueabi and is certainly not supported by nsp configurator
2. remove the function int_set_double_extended from file src/libspmf/spmf-IN.c (it is also neccessary to remove this function from the table static OpTab Spmf_func) as no relevant hardware exists in parallella board
3. remove a part of nsp_expm1 function in src/libspmf/spmf.c file. In all 'removal cases' I simply added 'AAA' to the relevant #ifdef as shown below. Certainly, it should be done in a general way by using more sophisticated conditions.
#ifdef __linux__AAA
if ( nsp_use_extended_fpu() == FALSE && Abs(x) > 0.01 )
{
/* improve by newton step :
* Copyright (C) 2002 The R Development Core Team
*/
y -= (1.0 + y) * (nsp_log1p(y) - x);
}
#endif
After that changes nsp compiles without problems. Of course, I had to install also several software packages to enable compilation, but this is not an issue, the parallella runs ubuntu and the repositories are available.