From 02bd40d552f6c3f56db43ea63f06ae4312a8e48a Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sat, 27 Jan 2007 15:38:04 -0500 Subject: While I'm waiting for legion to run make m5 compile with a few more compilers SConstruct: src/SConscript: Add flags for Intel CC while i'm at it src/base/compiler.hh: the _Pragma stuff needst to be called this way unless someone happens to have a cleaner way src/base/cprintf_formats.hh: add std:: where appropriate src/base/statistics.hh: use this->map since icc was getting confused about std::map vs the locally defined map src/cpu/static_inst.hh: Add some more dummy returns where needed src/mem/packet.hh: add more dummy returns where needed src/sim/host.hh: use limits to come up with max tick --HG-- extra : convert_revision : 08e9f7898b29fb9d063136529afb9b6abceab60c --- src/SConscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/SConscript') diff --git a/src/SConscript b/src/SConscript index a94682bc0..59b2ec42c 100644 --- a/src/SConscript +++ b/src/SConscript @@ -325,6 +325,11 @@ elif env['SUNCC']: ccflags['opt'] = '-g -O' ccflags['fast'] = '-fast' ccflags['prof'] = '-fast -g -pg' +elif env['ICC']: + ccflags['debug'] = '-g -O0' + ccflags['opt'] = '-g -O' + ccflags['fast'] = '-xW -O3 -ipo -no-prec-div -static' + ccflags['prof'] = '-fast -g -pg' else: print 'Unknown compiler, please fix compiler options' Exit(1) -- cgit v1.2.3 From f9a341f8e7871135e52d208c65185c96c1e51de5 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sat, 27 Jan 2007 15:47:18 -0500 Subject: I missed a couple of things --HG-- extra : convert_revision : 2fa44718e381ff743fa1cf12f4db2221dca87e4c --- src/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SConscript') diff --git a/src/SConscript b/src/SConscript index 59b2ec42c..596dca253 100644 --- a/src/SConscript +++ b/src/SConscript @@ -328,7 +328,7 @@ elif env['SUNCC']: elif env['ICC']: ccflags['debug'] = '-g -O0' ccflags['opt'] = '-g -O' - ccflags['fast'] = '-xW -O3 -ipo -no-prec-div -static' + ccflags['fast'] = '-fast' ccflags['prof'] = '-fast -g -pg' else: print 'Unknown compiler, please fix compiler options' -- cgit v1.2.3