Hi all, I compiled it successfully without using the SWAP using the command : scons build/x86/m5.opt CC=gcc CXX=g++
but it took long time as i left it from from night yesterday (at 8:07 PM),then i checked it in the early morning and found it finished so i didn't actually know how many hours it took to finish the compilation. Really Many Great Thanks for support and reply from everyone that is appreciated. Best Regards Wael Amr On Mon, May 7, 2012 at 2:39 AM, Gabe Black <[email protected]> wrote: > That's great to know and I'm sure will help a lot of people out. If you > really need debug info, you might want to use gem5.debug anyway. It's > slower, but it has the debug info and may be easier on gcc since it > wouldn't try to optimize as much. As a disclaimer I've never actually > compared build time memory usage between gem5.debug and gem5.opt, though. > > Gabe > > On 05/06/12 16:06, Hammond, Simon David (-EXP) wrote: > > Hey guys, > > > > We have been having this experience in linking GEM5 with out SST > simulator. One of our team has found that removing the -g option reduces > the memory requirements of the opt build significantly. If you're having > problems with the build because of memory this is worth a try (but sure... > you loose debug info). > > > > S. > > > > ________________________________________ > > From: [email protected] [[email protected]] on > behalf of Mahmood Naderan [[email protected]] > > Sent: Sunday, May 06, 2012 11:56 AM > > To: gem5 users mailing list > > Subject: [EXTERNAL] Re: [gem5-users] problem in building X86 > > > > So try to build m5.opt again. It may take several minutes depending on > > the speed of your host machine. Also run "top" on another terminal to > > see what is going on. If your swap is disabled, exceeding the memory > > space will cause the process to be killed by os. > > > > On 5/6/12, wael Amr <[email protected]> wrote: > >> Hi, > >> > >> Sorry,i checked it again ,my macbook has memory 2 GB. > >> So do you see that it still requires enabling the swap ? > >> > >> Thank you so much for your time and support. > >> Best Regards > >> Wael Amr > >> > >> On Sun, May 6, 2012 at 6:47 PM, Mahmood Naderan > >> <[email protected]>wrote: > >> > >>> It requires about 1.5GB of memory. > >>> > >>>> What do you mean by "enable the swap" ? > >>> Do you have SWAP partition? I mean this > >>> https://help.ubuntu.com/community/SwapFaq > >>> You can also run "top" command and if the swap partition start to work > >>> when the memory becomes full. > >>> > >>> > >>> -- > >>> // Naderan *Mahmood; > >>> _______________________________________________ > >>> gem5-users mailing list > >>> [email protected] > >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > >>> > > > > -- > > // Naderan *Mahmood; > > _______________________________________________ > > 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 > > _______________________________________________ > 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
