00001
00002
00003
00004
00005 #include <TROOT.h>
00006 #include <TRint.h>
00007 #include <TApplication.h>
00008
00009 #include "FROOT.h"
00010
00011 #if defined __linux
00012
00013 int xargv=0;
00014 int xargc=0;
00015 #endif
00016
00017 #if defined WIN32
00018 extern "C" int __fastflag=0;
00019 extern "C" int _pctype=0;
00020 extern "C" int __mb_cur_max=0;
00021 #endif
00022
00023 int gcbank_[3000000];
00024
00025
00026
00027
00028
00029
00030 int main(int argc, char **argv) {
00031 TRint *theApp = new TRint("froot",&argc,argv,NULL,0,1);
00032 theApp->ProcessFile(FROOT::ExpandPathName("$FROOTSYS/mcr_called/frootlogon.C"));
00033 theApp->SetPrompt("# froot > ");
00034 theApp->Run();
00035 theApp->Terminate(0);
00036 delete theApp;
00037 return(0);
00038 }
00039
00040