Changeset 2123 in Sophya


Ignore:
Timestamp:
Jul 19, 2002, 5:33:35 PM (23 years ago)
Author:
cmv
Message:

add -lm et separ Peida/Sophya rz+cmv 19/7/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/cxxexecutor.cc

    r1646 r2123  
    350350  <<endl
    351351
     352#ifdef SANS_EVOLPLANCK
     353  <<"//---- Peida include files"<<endl
     354  <<"#include \"toutpeida.h\""<<endl
     355#else
    352356  <<"//---- Sophya include files"<<endl
    353357  <<"#include \"basetools.h\""<<endl
     
    358362  <<"#include \"histats.h\""<<endl
    359363  <<endl
     364#endif
    360365
    361366  <<"//---- Spiapp include files"<<endl
     
    558563
    559564int rc;
     565#ifdef SANS_EVOLPLANCK
    560566CxxCompilerLinker cxx;
     567string sophlib = " -lPIE -lm ";
     568cxx.AddLinkOptions(sophlib);
     569#else
     570CxxCompilerLinker cxx(true,true,true);
     571#endif
    561572if(mDefTmp.size()>0) cxx.SetTmpDir(mDefTmp);
    562573if(mPrtLevel>0) cxx.SetVerbose(true);
     
    574585string fso = "";
    575586cxx.AddLinkOptions(mLinkOpt);
    576 #ifdef SANS_EVOLPLANCK
    577   string sophlib = "-lPIE";
    578 #else
    579   string sophlib = "-lPI";
    580 #endif
    581 cxx.AddLinkOptions(sophlib);
    582587cxx.AddLinkOptions(mMyLibs);
    583588rc = cxx.BuildSO(fo,fso);
Note: See TracChangeset for help on using the changeset viewer.