Changeset 5331 for trunk/include


Ignore:
Timestamp:
Mar 19, 2001, 7:56:57 PM (24 years ago)
Author:
mike
Message:

Few Watcom fixes/updates

Location:
trunk/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/initdll.h

    r5305 r5331  
    1313#if (__IBMCPP__ == 300) || (__IBMC__ == 300)
    1414void _Optlink __ctordtorInit( void );
    15 #define ctordtorInit()  __ctordtorInit()
     15#define ctordtorInit()  __ctordtorInit()
    1616
    1717void _Optlink __ctordtorTerm( void );
    18 #define ctordtorTerm()  __ctordtorTerm()
     18#define ctordtorTerm()  __ctordtorTerm()
    1919
    2020#elif (__IBMCPP__ == 360) || (__IBMC__ == 360)
    2121void _Optlink __ctordtorInit( int flag );
    22 #define ctordtorInit()  __ctordtorInit(0)
     22#define ctordtorInit()  __ctordtorInit(0)
    2323
    2424void _Optlink __ctordtorTerm( int flag );
    25 #define ctordtorTerm()  __ctordtorTerm(0)
     25#define ctordtorTerm()  __ctordtorTerm(0)
    2626
    2727#else
     
    5656#define ctordtorTerm()
    5757
     58#ifdef __cplusplus
     59extern "C" {
     60//prevent Watcom from mucking with this name
     61extern DWORD _Resource_PEResTab;
     62#pragma aux _Resource_PEResTab "*";
     63}
     64#endif
     65
    5866#endif
    5967
  • trunk/include/odin32.dbg.wat.mk

    r4826 r5331  
    1 # $Id: odin32.dbg.wat.mk,v 1.3 2000-12-17 19:54:55 bird Exp $
     1# $Id: odin32.dbg.wat.mk,v 1.4 2001-03-19 18:56:56 mike Exp $
    22
    33#
     
    1919SOMLIB   = somtk.lib
    2020RTLLIB   = clib3r.lib
    21 RTLLIB_O = clib3r.lib
     21RTLLIB_O = clib3r.lib plbrdll.lib mt7rdll.lib
    2222DLLENTRY = $(ODIN32_LIB)\dllentry.obj
    2323ODINCRT  = odincrtd
     
    112112# Linker flags.
    113113#
    114 LDFLAGS          = option maxe=125, quiet, symfile, nodefaultlibs  LIBPath $(%WATCOM)\lib386\os2;$(%WATCOM)\lib386
    115 LDFLAGS_ODINCRT  = option maxe=125, quiet, symfile  LIBPath $(%WATCOM)\lib386\os2;$(%WATCOM)\lib386
     114LDFLAGS          = option maxe=125, caseexact, quiet, symfile, nodefaultlibs  LIBPath $(%WATCOM)\lib386\os2;$(%WATCOM)\lib386
     115LDFLAGS_ODINCRT  = option maxe=125, caseexact, quiet, symfile  LIBPath $(%WATCOM)\lib386\os2;$(%WATCOM)\lib386
    116116
    117117!ifndef NODEBUGINFO
  • trunk/include/odin32.post.wat.mk

    r5288 r5331  
    1 # $Id: odin32.post.wat.mk,v 1.11 2001-03-06 21:44:39 mike Exp $
     1# $Id: odin32.post.wat.mk,v 1.12 2001-03-19 18:56:56 mike Exp $
    22
    33#
     
    112112lib:    $(OBJDIR) \
    113113        $(OBJDIR)\$(ORGTARGET).lib \
    114         $(ODIN32_LIB)\$(ORGTARGET).lib
     114        $(ODIN32_LIB)\$(ORGTARGET).lib \
     115        .SYMBOLIC
    115116!endif
    116117
  • trunk/include/odin32.tools.wat.mk

    r5288 r5331  
    1 # $Id: odin32.tools.wat.mk,v 1.3 2001-03-06 21:44:39 mike Exp $
     1# $Id: odin32.tools.wat.mk,v 1.4 2001-03-19 18:56:56 mike Exp $
    22
    33#
     
    5454.res : $(OBJDIR)
    5555
    56 .c.obj:   # .AUTODEPEND
     56.c.obj:   .AUTODEPEND
    5757    $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -fo$(OBJDIR)\$^&.obj $^&.c
    5858
    59 .cpp.obj: # .AUTODEPEND
     59.cpp.obj: .AUTODEPEND
    6060    $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -fo$(OBJDIR)\$^&.obj $^&.cpp
    6161
Note: See TracChangeset for help on using the changeset viewer.