Ignore:
Timestamp:
Dec 29, 2010, 1:05:09 PM (15 years ago)
Author:
dmik
Message:

make: Add support for ILINK and forbid using WLINK for JDK due to bugs in internal fixup generation when building awt.dll (see #35).

File:
1 edited

Legend:

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

    r89 r219  
    5858ifeq ($(PLATFORM), os2)
    5959
     60  ifeq ($(EMXOMFLD_TYPE), WLINK)
     61    $(error WLINK is not currently supported due to fixup-related bugs when building awt.dll. \
     62            Use VAC308 ILINK instead)
     63  endif
     64
    6065  # Settings specific to OS/2
    6166  CC           = $(COMPILER_PATH)gcc
     
    7075  # Option used to create a shared library
    7176  SHARED_LIBRARY_FLAG = -Zdll
     77  ifeq ($(EMXOMFLD_TYPE), VAC308)
     78    # (for some reason -Zdll is not always converted to /DLL by emxomfld)
     79    SHARED_LIBRARY_FLAG += -Zlinker /DLL
     80  endif
    7281
    7382  # current makefile reference (assumes GNU make)
Note: See TracChangeset for help on using the changeset viewer.