Ignore:
Timestamp:
Apr 10, 2007, 12:07:17 AM (18 years ago)
Author:
ansari
Message:

Remplacement SGI_ARCH64 par SO_ARCH64 et prise en compte SO_NOFPIC, Reza 10/04/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/cxxcmplnk.cc

    r3014 r3204  
    9191  linkOptions = "-O -shared";
    9292  syscomp += "g++/";
     93#ifndef SO_NOFPIC
     94  compOptions += " -fPIC ";
     95  linkOptions += " -fPIC ";
     96#endif
    9397#endif
    9498#if defined( __DECCXX )
     
    109113  linkOptions = "-shared -O -LANG:std";
    110114  syscomp += "CC/"; 
    111 #ifdef SGI_ARCH64
    112   compOptions += " -64 -DSGI_ARCH64 ";
     115#ifdef SO_ARCH64
     116  compOptions += " -64 ";
    113117  linkOptions += " -64 ";
    114118#endif
     
    125129  linkOptions = xlC_opt + string(" -brtl -qmkshrobj ");
    126130  syscomp += "xlC/"; 
     131#ifdef SO_ARCH64
     132  compOptions += " -q64 ";
     133  linkOptions += " -q64 ";
     134#endif
    127135#endif
    128136
Note: See TracChangeset for help on using the changeset viewer.