Browse Source

+ enable the win16 internal linker if the compiler is compiled with the
WIN16_INTERNAL_LINKER define. Since the win16 internal linker isn't completed
yet, this define is not enabled by default.

git-svn-id: trunk@42498 -

nickysn 6 years ago
parent
commit
db83612b2c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/systems/i_win16.pas

+ 4 - 0
compiler/systems/i_win16.pas

@@ -78,7 +78,11 @@ unit i_win16;
             dirsep       : '\';
             dirsep       : '\';
             assem        : as_i8086_omf;
             assem        : as_i8086_omf;
             assemextern  : as_i8086_nasmobj;
             assemextern  : as_i8086_nasmobj;
+{$ifdef WIN16_INTERNAL_LINKER}
+            link         : ld_int_win16;
+{$else}
             link         : ld_win16;
             link         : ld_win16;
+{$endif}
             linkextern   : ld_win16;
             linkextern   : ld_win16;
 {$ifdef USE_SCRIPTED_WLIB}
 {$ifdef USE_SCRIPTED_WLIB}
             ar           : ar_watcom_wlib_omf_scripted;
             ar           : ar_watcom_wlib_omf_scripted;