[RPL/2] RPL2 build problem

BERTRAND Joël joel.bertrand at systella.fr
Thu Apr 16 08:28:29 CEST 2015


Mark H. Harris a écrit :
> Greetings,  I am wondering if you were able to determine what I'm
> missing when I try to configure rpl2 on my Edison?  Did the config.log I
> forwarded make sense?  Am I indeed missing an ieee library, and if so is
> this the ieee754 library?  What do I need to do to get this sources to
> configure and compile?

	Hello,

	Have you tried to build a simple program with floating point 
computation and -g -O3 -malign-double -mieee-fp -Wall -Wextra ?

	For example :

#include <stdio.h>
#include <stdlib.h>

int
main()
{
	double x;
	int i;

	for(x = 0, i = 0; i < 1000; i++)
	{
		x += ((double) 1) / i;
	}

	printf("S=%f\n", x);
	return(0);
}

$ gcc -g -O3 -malign-double -mieee-fp main.c

and please post result here.

	Regards,

	JKB


More information about the RPL2 mailing list