Hi,

I'm a newbie to Gem5 and Scons. I was trying to compile the ALPHA_FS system
with Ruby but I got the 'operator overload' error. Then upon searching the
mailing list, I found that compiling with gcc 4.1.2 is known to cause
problems. So , it's recommended to compile with anything over 3.4.6 but not
4.1.2.

Now, I have access to gcc 3.4.6 and gcc 4.4.4 on the machine on which i'm
building gem5 but i don't administer it. To solve the issue I am facing, I
tried to create an alias for gcc which points to the two other gccs , but
that didn't work. I tried fiddling with the SConstruct file by directly
assigning 'gcc_version = '4.4.4' ' but that didn't work either.  It's not
working because when it tries to build some of the Ruby files, it's still
trying to link with the libraries that are for gcc 4.1.2 (and gcc 4.1.2 is
the default version on the system).

So , the question is "What changes do you suggest I should make in the
SConstruct file so that I can make it look for the right gcc version and
libraries for that version when compiling gem5 '.

Thanks!

Tom
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to