summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-16 01:09:19 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-16 01:09:19 +0000
commite2136826a3d45108ec96850e6b5921a315c1c1d8 (patch)
tree84713da2ef2846307f89b0ba0a72106c8a49a313 /Tools
parent38b5365e3931f6ff0a130338a367bba5ee473628 (diff)
downloadedk2-platforms-e2136826a3d45108ec96850e6b5921a315c1c1d8.tar.xz
Add new tool chain configs for x64 gcc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1958 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Conf/tools_def.template55
1 files changed, 49 insertions, 6 deletions
diff --git a/Tools/Conf/tools_def.template b/Tools/Conf/tools_def.template
index e54cd8c623..98898d41f9 100644
--- a/Tools/Conf/tools_def.template
+++ b/Tools/Conf/tools_def.template
@@ -296,12 +296,46 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF
*_UNIXGCC_IA32_ASM_EXT = .S
*_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
+
+####################################################################################
+#
+# Unix GCC
+#
+####################################################################################
+
+*_UNIXGCC_*_*_FAMILY = GCC
+*_UNIXGCC_*_*_FAMILY = GCC
+
+*_UNIXGCC_IA32_CC_NAME = gcc
+*_UNIXGCC_IA32_SLINK_NAME = ar
+*_UNIXGCC_IA32_DLINK_NAME = ld
+*_UNIXGCC_IA32_ASM_NAME = gcc
+*_UNIXGCC_IA32_PP_NAME = gcc
+
+*_UNIXGCC_X64_CC_NAME = gcc
+*_UNIXGCC_X64_SLINK_NAME = ar
+*_UNIXGCC_X64_DLINK_NAME = ld
+*_UNIXGCC_X64_ASM_NAME = gcc
+*_UNIXGCC_X64_PP_NAME = gcc
+
+*_UNIXGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_UNIXGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
+*_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
+*_UNIXGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
+*_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_UNIXGCC_*_ASM_EXT = .S
+
+*_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
+*_UNIXGCC_X64_*_PATH = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
+
+
####################################################################################
#
-# CygWin GCC
+# Cygwin GCC
#
####################################################################################
+*_CYGWINGCC_X64_*_FAMILY = GCC
*_CYGWINGCC_IA32_*_FAMILY = GCC
*_CYGWINGCC_IA32_CC_NAME = gcc
@@ -310,18 +344,28 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF
*_CYGWINGCC_IA32_ASM_NAME = gcc
*_CYGWINGCC_IA32_PP_NAME = gcc
+*_CYGWINGCC_X64_CC_NAME = gcc
+*_CYGWINGCC_X64_SLINK_NAME = ar
+*_CYGWINGCC_X64_DLINK_NAME = ld
+*_CYGWINGCC_X64_ASM_NAME = gcc
+*_CYGWINGCC_X64_PP_NAME = gcc
+
*_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_CYGWINGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
*_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
-*_CYGWINGCC_IA32_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
+*_CYGWINGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
*_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
+*_CYGWINGCC_*_ASM_EXT = .S
-*_CYGWINGCC_IA32_ASM_EXT = .S
*_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
-*_CYGWINGCC_IA32_*_DPATH = c:/Cygwin/bin
+*_CYGWINGCC_X64_*_PATH = c:/Cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
+*_CYGWINGCC_*_*_DPATH = c:/Cygwin/bin
+
####################################################################################
#
-# Mixed x64_64
+# Mixed x64 - This configuration is used to compile C code with gcc and assemble
+# with the Microsoft assembler.
#
####################################################################################
@@ -352,7 +396,6 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF
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)