Hi Nilanjan, Thank you for your help.
Now, I can use the gcc 4.5 to compile gem5. However I am faced another error: --------------------------------------------------------------------------------------- [ CXX] ALPHA_FS/sim/system.cc -> .fo [ CXX] ALPHA_FS/sim/arguments.cc -> .fo [ CXX] ALPHA_FS/python/swig/pyevent.cc -> .fo [ CXX] ALPHA_FS/python/swig/pyobject.cc -> .fo [ CC] ALPHA_FS/base/fenv.c -> .fo [ CXX] ALPHA_FS/python/swig/core_wrap.cc -> .fo cc1plus: warnings being treated as errors build/ALPHA_FS/python/swig/core_wrap.cc: In function 'PyObject* _wrap_doExitCleanup(PyObject*, PyObject*)': build/ALPHA_FS/python/swig/core_wrap.cc:3721:1: error: label 'fail' defined but not used build/ALPHA_FS/python/swig/core_wrap.cc: In function 'PyObject* _wrap_disableAllListeners(PyObject*, PyObject*)': build/ALPHA_FS/python/swig/core_wrap.cc:3732:1: error: label 'fail' defined but not used build/ALPHA_FS/python/swig/core_wrap.cc: In function 'PyObject* _wrap_curTick(PyObject*, PyObject*)': build/ALPHA_FS/python/swig/core_wrap.cc:3842:1: error: label 'fail' defined but not used scons: *** [build/ALPHA_FS/python/swig/core_wrap.fo] Error 1 scons: building terminated because of errors. ---------------------------------------------------------------------------------------- Is it a problem about SWIG? I named my compiler to gcc45 and g++45. I used command " scons build/ALPHA_FS/m5.fast CXX=/usr/bin/g++45 CC=/usr/bin/gcc45 " Thanks in advance Shu.
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
