Changeset 3131 in Sophya


Ignore:
Timestamp:
Jan 12, 2007, 2:23:28 PM (19 years ago)
Author:
ansari
Message:

correction calcul numero de version GCC (GCC_VERSION) et suppression test sur i386 non defini sur AMD , Reza 12/01/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/machdefs_mkmf.h

    r3070 r3131  
    5252#elif defined(powerpc)
    5353#define MACH_POWERPC
    54 #elif defined(__i386__)
    55 #define MACH_INTEL
    56 #else
    57 #error Undefined Platform (machine) type with linux in machdefs.h
     54/*  ----------------------
     55   $CHECK$ (Reza Jan07) : __i386__ pas defini sur AMD 
     56    Il faut affiner ce test, si on veut etre sur
     57    qu'on ait sur un processeur compatible Intel ( / AMD )
     58  #elif defined(__i386__)   
     59  #define MACH_INTEL
     60  #else
     61  #error Undefined Platform (machine) type with linux in machdefs.h 
     62-------------------------- */
    5863#endif
    5964#define OS_LINUX
     
    298303#endif
    299304
    300 #ifdef __GNUG__
    301 #define GCC_VERSION (__GNUC__ * 10000 \
     305#ifdef __GNUC__
     306#define GCC_VERSION (__GNUC__ * 1000 \
    302307                               + __GNUC_MINOR__ * 100 \
    303308                               + __GNUC_PATCHLEVEL__)
     
    312317#define HAS_IOS_BIN
    313318#define HAS_IOS_NOCREATE
    314 #if ( GCC_VERSION >= 30000 )
     319#if ( GCC_VERSION >= 3000 )
    315320#undef  DECL_TEMP_SPEC
    316321#define DECL_TEMP_SPEC template <>
    317322#endif
    318 #if ( GCC_VERSION >= 34000 )
     323#if ( GCC_VERSION >= 3400 )
    319324/* Two level name look-up scheme for templates introduced from gcc 3.4 */
    320325#define TSNMLUPG4
Note: See TracChangeset for help on using the changeset viewer.