Ignore:
Timestamp:
09/16/02 10:10:17 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/rootlogon.C

    r1438 r1524  
    9595    gInterpreter->AddIncludePath("mtools");
    9696
     97    if (TString("linux")==gSystem->GetBuildArch())
     98    {
     99        TString options = " -O -pipe -Wall -Woverloaded-virtual -fno-rtti -fno-exceptions -fPIC ";
     100
     101        TString s = "cd $BuildDir ; ";
     102        s += "g++ -c" + options + "-Iinclude -D_REENTRANT $IncludePath $SourceFiles ; ";
     103        s += "g++ $ObjectFiles -shared -Wl,-soname,$LibName.so -O -o $SharedLib";
     104        gSystem->SetMakeSharedLib(s);
     105    }
     106
    97107    cout << "Welcome to the Mars Root environment." << endl;
    98108
Note: See TracChangeset for help on using the changeset viewer.