From 1835c075e6c22d1247763fab51b62e10a490ffb0 Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 7 Sep 2015 19:00:41 +0000 Subject: [PATCH] + added win16 to the nasm's supported targets git-svn-id: trunk@31568 - --- compiler/x86/agx86nsm.pas | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/x86/agx86nsm.pas b/compiler/x86/agx86nsm.pas index b3cb644b2a..5ed26162ba 100644 --- a/compiler/x86/agx86nsm.pas +++ b/compiler/x86/agx86nsm.pas @@ -1196,7 +1196,8 @@ interface result:=Inherited MakeCmdLine; {$ifdef i8086} case target_info.system of - system_i8086_msdos: + system_i8086_msdos, + system_i8086_win16: FormatName:='obj'; else internalerror(2014082060); @@ -1247,7 +1248,7 @@ interface idtxt : 'NASM'; asmbin : 'nasm'; asmcmd : '-f $FORMAT -o $OBJ -w-orphan-labels $EXTRAOPT $ASM'; - supported_targets : [system_i8086_msdos]; + supported_targets : [system_i8086_msdos,system_i8086_win16]; flags : [af_needar,af_no_debug]; labelprefix : '..@'; comment : '; '; @@ -1259,7 +1260,7 @@ interface idtxt : 'NASMOBJ'; asmbin : 'nasm'; asmcmd : '-f obj -o $OBJ -w-orphan-labels $EXTRAOPT $ASM'; - supported_targets : [system_i8086_msdos]; + supported_targets : [system_i8086_msdos,system_i8086_win16]; flags : [af_needar,af_no_debug]; labelprefix : '..@'; comment : '; ';