I set up M5 on Ubuntu once, and it behaved similarly until I installed a certain package. I think it was build-essential, but it may have been something else. If you look in the mailing list archive you may find mention of it. I don't know exactly what it does, but with that installed scons was able to find and execute gcc properly.

Gabe

Quoting Yingying Tian <[email protected]>:

To whom it may concern,

I reinstalled my system from ubuntu9.04 to ubuntu10.04, with gcc-4.4.3. When
I re-compiled M5, there came errors as below:
---------------------------------------------------------
scons: Reading SConscript files ...
Error: Don't know what compiler options to use for your compiler.
       Please fix SConstruct and src/SConscript and try again.
---------------------------------------------------------

I looked into the SConstruct file and I wonder if it is the problem of
incompatible compiler version. Should I degrade my gcc to 4.4.2 or lower?
Are there any other solutions?


Thanks in advance,
Yingying Tian



_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to