Ignore:
Timestamp:
Aug 27, 2002, 5:03:14 AM (23 years ago)
Author:
bird
Message:

Flags adjustments.
Added options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/make/setup.os2relwat11.mk

    r9129 r9137  
    1 # $Id: setup.os2relwat11.mk,v 1.5 2002-08-24 22:33:13 bird Exp $
     1# $Id: setup.os2relwat11.mk,v 1.6 2002-08-27 03:03:14 bird Exp $
     2
     3#
     4# Note! Watcom is unable to do debug info release builds.
     5#       Because of a compiler bug which makes it emit code with
     6#       no optimizations.
     7#       Another reason is that lxlite isn't able to strip it.
     8#
    29
    310# ---OS2, RELEASE, WAT11-------------------------
     
    1522# Include some shared standard stuff: ALP, VAC optional stuff.
    1623#
     24AS_DEBUG_TYPE = Codeview
    1725!include $(PATH_MAKE)\setup.os2relalp.mk
    1826!include $(PATH_MAKE)\setup.os2relwrc.mk
     
    4553AR_LNK4= "$(@R).lst";
    4654
    47 
    48 CC_FLAGS=-bt=os2v2 -dOS2 -d__32BIT__ -d__i386__ -omlinear -5r -zq -bm -ze -w4 -d2 -hc -zc $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h
    49 CC_FLAGS_EXE=$(CC_FLAGS)
    50 CC_FLAGS_DLL=$(CC_FLAGS) -bd
    51 CC_FLAGS_SYS=$(CC_FLAGS) -s -zdp -zff -zgf
     55CC_FLAGS=-bt=os2v2 -dOS2 -d__32BIT__ -d__i386__ -5r -zq -bm -ze -w4 -zld $(_CC_OPTIONAL) $(CC_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CC_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h
     56CC_FLAGS_EXE=$(CC_FLAGS) -omlinear -zc
     57CC_FLAGS_DLL=$(CC_FLAGS) -omlinear -zc -bd
     58CC_FLAGS_SYS=$(CC_FLAGS) -omlinear -s -zdp -zff -zgf -zu
    5259CC_FLAGS_VDD=$(CC_FLAGS_SYS)
    53 CC_FLAGS_IFS=$(CC_FLAGS_SYS) -bd
     60CC_FLAGS_IFS=$(CC_FLAGS_SYS) -omlnaru -bd
    5461CC_OBJ_OUT=-fo=
    5562CC_LST_OUT=
    5663CC_PC_2_STDOUT=-pc
    5764
    58 CXX_FLAGS=-bt=os2v2 -dOS2 -d__32BIT__ -d__i386__ -omlinear -5r -zq -bm -ze -w4 -d2 -hc -zc $(_CXX_OPTIONAL)  $(CXX_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CXX_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h
    59 CXX_FLAGS_EXE=$(CXX_FLAGS)
    60 CXX_FLAGS_DLL=$(CXX_FLAGS) -bd
    61 CXX_FLAGS_SYS=$(CXX_FLAGS) -s -zdp -zff -zgf
     65CXX_FLAGS=-bt=os2v2 -dOS2 -d__32BIT__ -d__i386__ -5r -zq -bm -ze -w4 -zld $(_CXX_OPTIONAL)  $(CXX_DEFINES) $(ALL_DEFINES) $(BUILD_DEFINES) $(CXX_INCLUDES:-I=-i=) $(ALL_INCLUDES:-I=-i=) -i=$(PATH_INCLUDES) -i=$(WATCOM)\h
     66CXX_FLAGS_EXE=$(CXX_FLAGS) -omlinear -zc
     67CXX_FLAGS_DLL=$(CXX_FLAGS) -omlinear -zc -bd
     68CXX_FLAGS_SYS=$(CXX_FLAGS) -omlinear -omlinear -s -zdp -zff -zgf -zu
    6269CXX_FLAGS_VDD=$(CXX_FLAGS_SYS)
    63 CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) -bd
     70CXX_FLAGS_IFS=$(CXX_FLAGS_SYS) -omlnaru -bd
    6471CXX_OBJ_OUT=-fo=
    6572CXX_LST_OUT=
     
    9097IMPLIB_FLAGS=/NOI /Nologo
    9198
    92 LINK_FLAGS=Sort global Debug codeview Option quiet, dosseg, eliminate, manglednames, caseexact
     99LINK_FLAGS=Option eliminate, manglednames, caseexact, cache $(_LD_OPTIONAL) #Debug codeview all
    93100LINK_FLAGS_EXE=$(LINK_FLAGS)
    94101LINK_FLAGS_DLL=$(LINK_FLAGS)
    95 LINK_FLAGS_SYS=$(LINK_FLAGS) Option oneautodata, internalrelocs, togglerelocs
     102LINK_FLAGS_SYS=$(LINK_FLAGS) segment type code preload segment type data preload Option internalrelocs, togglerelocs
    96103LINK_FLAGS_VDD=$(LINK_FLAGS_SYS)
    97 LINK_FLAGS_IFS=$(LINK_FLAGS_SYS)
     104LINK_FLAGS_IFS=$(LINK_FLAGS_DLL) segment type code preload segment type data preload
    98105LINK_CMD_EXE=$(LINK) $(LINK_FLAGS_EXE) @$(TARGET_LNK)
    99106LINK_CMD_DLL=$(LINK) $(LINK_FLAGS_DLL) @$(TARGET_LNK)
Note: See TracChangeset for help on using the changeset viewer.