Changeset 12


Ignore:
Timestamp:
Jun 8, 2010, 4:19:58 PM (15 years ago)
Author:
dmik
Message:

jdk/make/os2: Add the required GCC version check and a couple of other fixes.

Location:
trunk/openjdk/jdk/make/common/shared
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/shared/Compiler-gcc.gmk

    r2 r12  
    5353  _LINK_VER :=$(shell $(LINK) 2>&1 | $(HEAD) -n 1)
    5454  LINK_VER  :=$(call GetVersion,"$(_LINK_VER)")
     55
     56endif
     57
     58ifeq ($(PLATFORM), os2)
     59
     60  # Settings specific to OS/2
     61  CC           = $(COMPILER_PATH)gcc
     62  CPP          = $(COMPILER_PATH)gcc -E
     63  CXX          = $(COMPILER_PATH)g++
     64  REQUIRED_CC_VER = 3.2
    5565
    5666endif
  • trunk/openjdk/jdk/make/common/shared/Sanity-Settings.gmk

    r2 r12  
    103103  ALL_SETTINGS+=$(call addAltSetting,MSDEVTOOLS_PATH)
    104104else
     105ifeq ($(PLATFORM),os2)
     106else
    105107  ALL_SETTINGS+=$(call addAltSetting,MOTIF_DIR)
    106108  ALL_SETTINGS+=$(call addOptionalSetting,MOTIF_REQUIRED)
     109endif
    107110endif
    108111ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_NAME)
     
    260263  ALL_SETTINGS+=$(call addAltSetting,BINARY_PLUGS_PATH)
    261264  ALL_SETTINGS+=$(call addAltSetting,BUILD_BINARY_PLUGS_PATH)
    262 else 
     265else
    263266  ALL_SETTINGS+=$(call addHeading,OPENJDK Export Binary Plug Settings)
    264267  ALL_SETTINGS+=$(call addOptionalSetting,PLUG_EXPORT_DIRNAME)
  • trunk/openjdk/jdk/make/common/shared/Sanity.gmk

    r10 r12  
    845845######################################################
    846846sane-cups:
    847 ifneq ($(PLATFORM), windows)
     847ifneq ($(filter-out windows os2,$(PLATFORM)),)
    848848        @if [ ! -r $(CUPS_HEADERS_PATH)/cups/cups.h ]; then \
    849849          $(ECHO) "ERROR: You do not have access to valid Cups header files. \n" \
Note: See TracChangeset for help on using the changeset viewer.