Add a Mixed tool chain for x64.
[mirror_edk2.git] / Tools / Conf / tools_def.template
index d6e57c74aa6e1535483c9ebcc3c7540331616bd2..e54cd8c62389bf56c49822b2b7c82b19989e709d 100644 (file)
@@ -319,6 +319,40 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF
 *_CYGWINGCC_IA32_*_PATH       = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin\r
 *_CYGWINGCC_IA32_*_DPATH      = c:/Cygwin/bin\r
 \r
+####################################################################################\r
+#\r
+# Mixed x64_64\r
+#\r
+####################################################################################\r
+\r
+*_MIXED_X64_CC_FAMILY    = GCC\r
+*_MIXED_X64_SLINK_FAMILY = GCC\r
+*_MIXED_X64_DLINK_FAMILY = GCC\r
+*_MIXED_X64_ASM_FAMILY   = MSFT\r
+*_MIXED_X64_PP_FAMILY    = MSFT\r
+\r
+*_MIXED_X64_CC_NAME      = gcc\r
+*_MIXED_X64_SLINK_NAME   = ar\r
+*_MIXED_X64_DLINK_NAME   = ld\r
+*_MIXED_X64_ASM_NAME     = gcc\r
+*_MIXED_X64_PP_NAME      = cl.exe\r
+\r
+*_MIXED_X64_CC_FLAGS     = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64\r
+*_MIXED_*_DLINK_FLAGS    = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}\r
+*_MIXED_X64_PP_FLAGS     = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h \r
+\r
+*_MIXED_X64_ASM_NAME     = ml64.exe\r
+*_MIXED_X64_ASM_PATH     = C:/WINDDK/3790.1830/bin/win64/x86/amd64\r
+*_MIXED_X64_CC_PATH      = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
+*_MIXED_X64_PP_PATH      = C:/WINDDK/3790.1830/bin/win64/x86/amd64\r
+*_MIXED_X64_SLINK_PATH   = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
+*_MIXED_X64_DLINK_PATH   = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin\r
+*_MIXED_X64_ASMLINK_PATH = C:/WINDDK/3790.1830/bin/bin16/\r
+\r
+DEBUG_MIXED_X64_ASM_FLAGS     = /nologo /W3 /WX /c /Cx /Zd /Zi\r
+RELEASE_MIXED_X64_ASM_FLAGS   = /nologo /W3 /WX /c /Cx /Zd\r
+\r
+\r
 ####################################################################################\r
 #\r
 # Intel EFI Byte Code Compiler (Template)\r