[ROOT] ACLiC and optimization/debug mode

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Oct 25 2002 - 16:49:35 MEST


Hi,

You now have 2 ways of selecting whether the library built by ACLiC is built in debug or optimized mode.

As previously, the default is to build the library in the same mode as the running ROOT library.

You can select to change all future ACLiC compilation (in the current process) by calling:

	gSystem->SetAclicMode(TSystem::kDebug); // or kOpt, or kDefault

You can also select the mode on a per library basis by adding either 'g' or 'O' after the '+' or '++'.

	root[] .L myscript.C++O
	// myscript_C.so build with optimization
	root[] .L myfile.cxx++g
 	// myfile_cxx.so build with debug symbols.

Cheers,
Philippe.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:15 MET