try export cc=gcc-4.4.3
export cxx=g++-4.4.3

On Tue, Jan 18, 2011 at 7:34 AM, Yingying Tian <[email protected]> wrote:

> Yes, thank you in advance. I reinstalled my system from ubuntu9.04 to
> ubuntu10.04, with gcc-4.4.3 installed. 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.
> ---------------------------------------------------------
>
> Now I am thinking it may not be a problem with gcc version. The reason is
> that my desktop is on a cluster, which means I could log on another computer
> remotely to access M5. Before my re-installation of my own desktop, I could
> compile and run M5 on any machine on the cluster. But after my
> reinstallation,  I couldn't compile M5 remotely on another cluster machine.
> I got the same error information, however the gcc version on that cluster
> machine is 4.4.1. But I don't know what the problem is.
>
>
> Thanks,
> Yingying Tian
>
>
> On Mon, Jan 17, 2011 at 7:43 PM, biswabandan panda <[email protected]>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/ <http://www.cse.iitm.ac.in/%7Ebiswa/>
>>
>> "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
>



-- 

*thanks&regards
*
*BISWABANDAN PANDA*
*M.S.(RESEARCH SCHOLAR)*
*RISE LAB*
*IIT MADRAS*

http://www.cse.iitm.ac.in/~biswa/ <http://www.cse.iitm.ac.in/%7Ebiswa/>

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

Reply via email to