You should read the documentation. It explains how to get started.

Gabe

On 07/03/11 03:53, Mahmood Naderan wrote:
> ok I will ty to find if scons accepts absolute paths.
>
>> You may not want to use the stable repository since that tends to get out of
>> date, but you can if you want.
> You mean I should use
> hg clone http://repo.gem5.org/gem5
> ?
>
> On 7/3/11, Gabe Black <[email protected]> wrote:
>> On 07/03/11 03:04, Mahmood Naderan wrote:
>>> Hi,
>>> How can I modify compiler path before making the source files. There
>>> exist multiple version of gcc and g++ on my system and I want to
>>> explicitly state
>>>
>>> CC = /usr/bin/gcc-4.5
>>> CXX = /usr/bin/g++-4.5
>>>
>>> I found two Makefiles
>>> /home/mahmood/gem5-stable/util/m5/Makefile.x86
>>> /home/mahmood/gem5-stable/util/tap/Makefile
>>>
>>> Still there are some Makefiles but I don't know if that is a good
>>> solution. Any idea about that?
>>>
>>> thanks
>> Those Makefiles are for small utility programs, not for the main
>> simulator. The main simulator uses scons. I think scons (as we have it
>> set up) will use CC and CXX if you set those environment variables. You
>> may not want to use the stable repository since that tends to get out of
>> date, but you can if you want.
>>
>> Gabe
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>

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

Reply via email to