take a look at build/scons_config.log. You might find some output in there 
useful. Also, do you have a CC or CXX environment variable set?

The error is occurring because executing $CC -v isn't producing any output that 
m5 recognizes as valid for gcc. 

Ali



On Jan 17, 2011, at 7:43 PM, biswabandan panda wrote:

> i am using gcc-4.4.3, could you tell me what error you are getting
> 
> On Tue, Jan 18, 2011 at 7:09 AM, Gabriel Michael Black 
> <[email protected]> wrote:
> That was the only time I tried using Ubuntu with M5 so that's all I can say. 
> I know other people use Ubuntu with M5 regularly and might be able to help.
> 
> 
> Gabe
> 
> Quoting Yingying Tian <[email protected]>:
> 
> Hi Gabe,
> 
> Thank you for your reply. I found the similar problem in the mailing list
> with your answers (
> http://comments.gmane.org/gmane.comp.emulators.m5.users/6604). And I did
> install build-essential as well as g++. But there still came the error. Is
> there any other possible solutions?
> 
> 
> Thanks,
> Yingying Tian
> 
> On Mon, Jan 17, 2011 at 6:04 PM, Gabriel Michael Black <
> [email protected]> wrote:
> 
> 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
> 
> 
> 
> 
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> 
> 
> 
> -- 
> 
> thanks&regards
> BISWABANDAN PANDA
> M.S.(RESEARCH SCHOLAR)
> RISE LAB
> IIT MADRAS
> 
> http://www.cse.iitm.ac.in/~biswa/
> 
> "Happy new Year 2011"
> 
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

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

Reply via email to