From c2bf31448eeadfc555b2dfcda3baf4accf03379b Mon Sep 17 00:00:00 2001 From: bbahnsen Date: Tue, 14 Nov 2006 06:51:14 +0000 Subject: Add a Mixed tool chain for x64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1947 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/Conf/tools_def.template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'Tools/Conf/tools_def.template') diff --git a/Tools/Conf/tools_def.template b/Tools/Conf/tools_def.template index d6e57c74aa..e54cd8c623 100644 --- a/Tools/Conf/tools_def.template +++ b/Tools/Conf/tools_def.template @@ -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 *_CYGWINGCC_IA32_*_DPATH = c:/Cygwin/bin +#################################################################################### +# +# Mixed x64_64 +# +#################################################################################### + +*_MIXED_X64_CC_FAMILY = GCC +*_MIXED_X64_SLINK_FAMILY = GCC +*_MIXED_X64_DLINK_FAMILY = GCC +*_MIXED_X64_ASM_FAMILY = MSFT +*_MIXED_X64_PP_FAMILY = MSFT + +*_MIXED_X64_CC_NAME = gcc +*_MIXED_X64_SLINK_NAME = ar +*_MIXED_X64_DLINK_NAME = ld +*_MIXED_X64_ASM_NAME = gcc +*_MIXED_X64_PP_NAME = cl.exe + +*_MIXED_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64 +*_MIXED_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} +*_MIXED_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h + +*_MIXED_X64_ASM_NAME = ml64.exe +*_MIXED_X64_ASM_PATH = C:/WINDDK/3790.1830/bin/win64/x86/amd64 +*_MIXED_X64_CC_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin +*_MIXED_X64_PP_PATH = C:/WINDDK/3790.1830/bin/win64/x86/amd64 +*_MIXED_X64_SLINK_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin +*_MIXED_X64_DLINK_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin +*_MIXED_X64_ASMLINK_PATH = C:/WINDDK/3790.1830/bin/bin16/ + +DEBUG_MIXED_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi +RELEASE_MIXED_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd + + #################################################################################### # # Intel EFI Byte Code Compiler (Template) -- cgit v1.2.3