Changeset 3224 in Sophya for trunk/SophyaLib/BuildMgr


Ignore:
Timestamp:
Apr 12, 2007, 11:06:59 PM (18 years ago)
Author:
ansari
Message:

Corrections dans configure (gestion flag -arch64) + nettoyage IRIX64.inc , Reza 12/04/2007

Location:
trunk/SophyaLib/BuildMgr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BuildMgr/IRIX64_CC_make.inc

    r3210 r3224  
    1010
    1111#  Flag preprocesseur
    12 # ---NOTICE-- Changing the -64 flag below
    13 # requires removing the definition of SGI_ARCH64 flag in machdefs.h 
    1412CPPFLAGS = -I$(SOPHYAINCP)  $(PIINC)
    1513#  Def compilateur C et flags
  • trunk/SophyaLib/BuildMgr/configure

    r3223 r3224  
    415415
    416416# --- Gestion des flags modifiants les options de compilation et liste de librairies (par sed)
     417set sname = `uname`
    417418set sprgfile = $TMPDIR/compop.scom 
    418419set scmd = "/FLAGS/s/CNFPHFLF/ $compopt/g"
    419 if ($?arch64) then
     420if ( $?arch64 ) then
    420421  set a64cf = ' '
    421   if ( "$sname" == "IRIX64" ) &&  ("$SOPHYACXX" == "CC" ) set a64cf = '-64'
    422   if ( "$sname" == "AIX" ) && ( ("$SOPHYACXX" == "xlC" ) || ("$SOPHYACXX" == "xlc" ) )
    423     set a64cf = '-q64'
     422  if ( ( "$sname" == "IRIX64" ) && ("$SOPHYACXX" == "CC" ) ) set a64cf = '-64'
     423  if ( ( "$sname" == "AIX" ) && ( ("$SOPHYACXX" == "xlC" ) || ("$SOPHYACXX" == "xlc" ) ) )    set a64cf = '-q64'
    424424  set scmd = "/FLAGS/s/CNFPHFLF/$a64cf $compopt/g"
    425425endif
     
    452452echo "/*------ Code generation switch ---- */" >> $mdefname
    453453echo "/*   System selector (uname) */" >> $mdefname
    454 set sname = `uname`
     454# Fait avant - set sname = `uname`
    455455echo "#ifndef $sname" >> $mdefname
    456456echo "#define $sname 1 "  >> $mdefname
Note: See TracChangeset for help on using the changeset viewer.