Re: [Gems-users] Problems compiling Ruby on gcc3.3.5 (Gems 1.2)


Date: Thu, 23 Feb 2006 09:28:48 -0600 (CST)
From: Bradford Beckmann <beckmann@xxxxxxxxxxx>
Subject: Re: [Gems-users] Problems compiling Ruby on gcc3.3.5 (Gems 1.2)
Alessandro,

Sorry about that.  Obviously we don't have the resources to test GEMS 1.2
with every gcc version.  GEMS 1.2 does successfully compile on x86-linux
with gcc-3.4.3.

If you are constrained to 3.3.5, the easiest thing to do is just comment
out the sqrt calls in the function NUCAProfiler::printStats().  If you are
not using the NUCA protocol, this code will not be used and you won't
notice a thing.  Another easy fix is to cast the parameter to the sqrt()
function as a double or float.

Brad


On Thu, 23 Feb 2006, Alessandro Bardine wrote:

> I am trying to compile the new release of Gems on my machine
> running x86-linux, Simics2.2
> I am following the Set-Up and QuickStart guide from Gems web site
> (which perfectly worked for Gems 1.1 on the same machine), I edited the
> Makefile.common anf the Makefile
> for my Gcc compiler version  but when comiling Ruby I get some errors like
> in
> Nuca/NUCAProfiler.c:
> 	xall of overloaded function sqrt(int) is ambiguos....
>
>
> Does some one have suggestions? Must I install a more new release of g++?
>
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
[← Prev in Thread] Current Thread [Next in Thread→]