6733313: corba build warnings: /bin/sh: gcc: not found
authorohair
Tue, 19 May 2009 18:09:31 -0700
changeset 2827 6737e8a2ab2b
parent 2826 6413d8c28e36
child 2828 1c44a021e53b
6733313: corba build warnings: /bin/sh: gcc: not found Reviewed-by: tbell
corba/make/common/shared/Compiler-gcc.gmk
corba/make/common/shared/Compiler-sun.gmk
--- a/corba/make/common/shared/Compiler-gcc.gmk	Tue May 19 17:38:09 2009 -0700
+++ b/corba/make/common/shared/Compiler-gcc.gmk	Tue May 19 18:09:31 2009 -0700
@@ -73,23 +73,18 @@
   ifneq ("$(findstring sparc,$(ARCH))", "")
     # sparc or sparcv9
     REQUIRED_CC_VER = 4.0
-    REQUIRED_GCC_VER = 4.0.*
   else
   ifeq ($(ARCH_DATA_MODEL), 32)
     # i586
     REQUIRED_CC_VER = 3.2
-    REQUIRED_GCC_VER = 3.2.1*
-    REQUIRED_GCC_VER_INT = 3.2.1-7a
   else
   ifeq ($(ARCH), amd64)
     # amd64
     REQUIRED_CC_VER = 3.2
-    REQUIRED_GCC_VER = 3.2.*
   endif
   ifeq ($(ARCH), ia64)
     # ia64
     REQUIRED_CC_VER = 3.2
-    REQUIRED_GCC_VER = 2.9[56789].*
   endif
   endif
   endif
@@ -109,13 +104,6 @@
 
   # Option used to create a shared library
   SHARED_LIBRARY_FLAG = -G
-  # But gcc is still needed no matter what on 32bit
-  ifeq ($(ARCH_DATA_MODEL), 32)
-    REQUIRED_GCC_VER = 2.95
-    GCC =$(GCC_COMPILER_PATH)gcc
-    _GCC_VER :=$(shell $(GCC) -dumpversion 2>&1 )
-    GCC_VER  :=$(call GetVersion,"$(_GCC_VER)")
-  endif
 
 endif
 
--- a/corba/make/common/shared/Compiler-sun.gmk	Tue May 19 17:38:09 2009 -0700
+++ b/corba/make/common/shared/Compiler-sun.gmk	Tue May 19 18:09:31 2009 -0700
@@ -39,13 +39,6 @@
   LINT           = $(COMPILER_PATH)lint
   # Option used to create a shared library
   SHARED_LIBRARY_FLAG = -G
-  # But gcc is still needed no matter what on 32bit
-  ifeq ($(ARCH_DATA_MODEL), 32)
-    REQUIRED_GCC_VER = 2.95
-    GCC =$(GCC_COMPILER_PATH)gcc
-    _GCC_VER :=$(shell $(GCC) -dumpversion 2>&1 )
-    GCC_VER  :=$(call GetVersion,"$(_GCC_VER)")
-  endif
 endif
 
 # Sun Studio Compiler settings specific to Linux