Changeset 14890 for trunk/Mars/macros/rootlogon.C
- Timestamp:
- 02/13/13 09:56:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/macros/rootlogon.C
r14200 r14890 179 179 gInterpreter->AddIncludePath(dir+"mextralgo"); 180 180 181 TString options = " -O3 -DHAVE_ZLIB -D__MARS__ -pipe -Wall -Woverloaded-virtual -fno-exceptions -fPIC "; 181 TString opt(gSystem->GetFlagsOpt()); 182 TString lib(gSystem->GetLinkedLibs()); 182 183 183 TString s = "cd $BuildDir ; "; 184 s += "g++ -std=c++0x -c" + options + "-Iinclude -D_REENTRANT $IncludePath $SourceFiles ; "; 185 s += "g++ -std=c++0x $ObjectFiles -shared -Wl,-soname,$LibName.so -O -o $SharedLib"; 186 gSystem->SetMakeSharedLib(s); 184 opt += " -D__MARS__"; 185 // opt += " -DHAVE_ZLIB"; 186 opt += " -std=c++0x"; 187 188 // lib += " -lz"; 189 190 gSystem->SetLinkedLibs(lib); 191 gSystem->SetFlagsOpt(opt); 192 187 193 188 194 cout << "\033[32m" << "Welcome to the Mars Root environment." << "\033[0m" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.