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


Date: Thu, 23 Feb 2006 10:03:03 -0600
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] R: Problems compiling Ruby on gcc3.3.5 (Gems 1.2)
Did you try copying the libstdc++.so.5 file to the simics lib directory?

Alessandro Bardine wrote:
now i installed the 3.4.4 of gcc
i am no more getting the previous errors but i am still having troubles
when the link phase starts.
Are there any changes in the step listed in the quick start guide ?

-----Messaggio originale-----
Da: gems-users-bounces@xxxxxxxxxxx
[mailto:gems-users-bounces@xxxxxxxxxxx]Per conto di Bradford Beckmann
Inviato: giovedi 23 febbraio 2006 16.29
A: Gems Users
Oggetto: 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

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users

[← Prev in Thread] Current Thread [Next in Thread→]