corba/make/common/shared/Compiler-sun.gmk
changeset 648 7b3eaf04308f
parent 4 02bb8761fcce
child 718 8e2f588d7b97
equal deleted inserted replaced
572:18dc4ba4739a 648:7b3eaf04308f
    29 
    29 
    30 COMPILER_NAME=Sun Studio
    30 COMPILER_NAME=Sun Studio
    31 
    31 
    32 # Sun Studio Compiler settings specific to Solaris
    32 # Sun Studio Compiler settings specific to Solaris
    33 ifeq ($(PLATFORM), solaris)
    33 ifeq ($(PLATFORM), solaris)
       
    34   # FIXUP: Change to SS12 when validated
       
    35   #COMPILER_VERSION=SS12
       
    36   #REQUIRED_CC_VER=5.9
    34   COMPILER_VERSION=SS11
    37   COMPILER_VERSION=SS11
    35   REQUIRED_CC_VER=5.8
    38   REQUIRED_CC_VER=5.8
    36   CC             = $(COMPILER_PATH)cc
    39   CC             = $(COMPILER_PATH)cc
    37   CPP            = $(COMPILER_PATH)cc -E
    40   CPP            = $(COMPILER_PATH)cc -E
    38   CXX            = $(COMPILER_PATH)CC
    41   CXX            = $(COMPILER_PATH)CC
    49 endif
    52 endif
    50 
    53 
    51 # Sun Studio Compiler settings specific to Linux
    54 # Sun Studio Compiler settings specific to Linux
    52 ifeq ($(PLATFORM), linux)
    55 ifeq ($(PLATFORM), linux)
    53   # This has not been tested
    56   # This has not been tested
    54   COMPILER_VERSION=SS11
    57   COMPILER_VERSION=SS12
    55   REQUIRED_CC_VER=5.8
    58   REQUIRED_CC_VER=5.9
    56   CC             = $(COMPILER_PATH)cc
    59   CC             = $(COMPILER_PATH)cc
    57   CPP            = $(COMPILER_PATH)cc -E
    60   CPP            = $(COMPILER_PATH)cc -E
    58   CXX            = $(COMPILER_PATH)CC
    61   CXX            = $(COMPILER_PATH)CC
    59   LINT           = $(COMPILER_PATH)lint
    62   LINT           = $(COMPILER_PATH)lint
    60   # statically link libstdc++ before C++ ABI is stablized on Linux
    63   # statically link libstdc++ before C++ ABI is stablized on Linux