From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.6156.1584681954135984926 for ; Thu, 19 Mar 2020 22:25:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: guomin.jiang@intel.com) IronPort-SDR: m3X5QgotEDGlDCrWGavwmEPeJV3jVVDH8E64gywyliRkKgC5gBqzeZWNncT2x4DfuSbry/Fbj/ BDezDic9rraA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2020 22:25:53 -0700 IronPort-SDR: 4PMWhPefLfQKMAjaDcyzjpeBmIqu+9Y4GLy845GMG6pusvnFJ8NTAvOoe4wECtQ4eEyn2l9Ef6 xq3yH1V4H1DQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,283,1580803200"; d="scan'208";a="248770861" Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by orsmga006.jf.intel.com with ESMTP; 19 Mar 2020 22:25:51 -0700 From: "Jiang, Guomin" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [PATCH] EmulatorPkg/WinHost: Add link flags for VS2019 tool chains. Date: Fri, 20 Mar 2020 13:25:51 +0800 Message-Id: <20200320052551.1013-1-guomin.jiang@intel.com> X-Mailer: git-send-email 2.25.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2604 The link flags for VS2019 is absent and result the build fail. Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Guomin Jiang --- EmulatorPkg/Win/Host/WinHost.inf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmulatorPkg/Win/Host/WinHost.inf b/EmulatorPkg/Win/Host/WinHos= t.inf index e0b3ecb15b..44e938761d 100644 --- a/EmulatorPkg/Win/Host/WinHost.inf +++ b/EmulatorPkg/Win/Host/WinHost.inf @@ -87,12 +87,14 @@ MSFT:*_VS2015_IA32_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%Lib" /LI= BPATH:"%VS2015_PREFIX%VC\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersio= n%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /N= OLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /M= ACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib vcruntimed.lib ucrtd.lib=0D MSFT:*_VS2015x86_IA32_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%Lib" /LI= BPATH:"%VS2015_PREFIX%VC\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersio= n%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /N= OLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /M= ACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib vcruntimed.lib ucrtd.lib=0D MSFT:*_VS2017_IA32_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x86" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x86" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel3= 2.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib=0D + MSFT:*_VS2019_IA32_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x86" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x86" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel3= 2.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib=0D MSFT:*_*_IA32_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /coff /Cx /Z= d /W0 /Zi=0D MSFT:*_*_IA32_ASMLINK_FLAGS =3D=3D /link /nologo /tiny=0D =0D MSFT:*_VS2015_X64_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%VC\Lib\A= MD64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%= WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE= /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kerne= l32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib= Advapi32.lib=0D MSFT:*_VS2015x86_X64_DLINK_FLAGS =3D /LIBPATH:"%VS2015_PREFIX%VC\Lib\A= MD64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%= WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE= /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kerne= l32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib= Advapi32.lib=0D MSFT:*_VS2017_X64_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel= 32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib = Advapi32.lib=0D + MSFT:*_VS2019_X64_DLINK_FLAGS =3D /LIBPATH:"%VCToolsInstallDir%lib\= x64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%W= indowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE = /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel= 32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib = Advapi32.lib=0D MSFT:*_*_X64_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /Cx /Zd /W0 = /Zi=0D MSFT:*_*_X64_ASMLINK_FLAGS =3D=3D /link /nologo=0D =0D --=20 2.25.1.windows.1