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
