[Compbench-devel] CompBenchmarks++/System System.cpp,1.12,1.13
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2006-12-28 13:14:34
|
Update of /cvsroot/compbench/CompBenchmarks++/System In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv16711 Modified Files: System.cpp Log Message: init() also initialises the possible paths to benchmark's libraries. Index: System.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/System/System.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** System.cpp 28 Dec 2006 00:37:03 -0000 1.12 --- System.cpp 28 Dec 2006 13:14:30 -0000 1.13 *************** *** 22,29 **** --- 22,38 ---- CBMSystem::CBMSystem() { + std::string tmp; + cbmSystem=this; if (!UI) UI=new CBMUI; + + tmp=PREFIX; + tmp+="/lib"; + + cbmlib_paths.push_back(tmp); + cbmlib_paths.push_back("./Benchmark/.libs"); + cbmlib_paths.push_back("../../Benchmark/.libs"); } *************** *** 150,154 **** for(i=0;i<l;i++) { ! if (!((isspace((int) str[i])) && (sp))) { sp=0; dum+=str[i]; --- 159,163 ---- for(i=0;i<l;i++) { ! if ((!sp) || (!(isspace((int) str[i])))) { sp=0; dum+=str[i]; |