diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index c14fcdf5f5..32b2639138 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -4566,82 +4566,6 @@ RELEASE_GCC46_IA32_CC_FLAGS = DEF(GCC46_IA32_CC_FLAGS) -Os -Wno-unused-but RELEASE_GCC46_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable NOOPT_GCC46_X64_CC_FLAGS = DEF(GCC46_X64_CC_FLAGS) -O0 -#################################################################################### -# -# GCC 4.7 - This configuration is used to compile under Linux to produce -# PE/COFF binaries using GCC 4.7. -# -#################################################################################### -*_GCC47_*_*_FAMILY = GCC - -*_GCC47_*_MAKE_PATH = DEF(GCC_HOST_PREFIX)make -*_GCC47_*_*_DLL = ENV(GCC47_DLL) -*_GCC47_*_ASL_PATH = DEF(UNIX_IASL_BIN) - -*_GCC47_*_PP_FLAGS = DEF(GCC_PP_FLAGS) -*_GCC47_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) -*_GCC47_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -*_GCC47_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) -*_GCC47_*_APP_FLAGS = -*_GCC47_*_ASL_FLAGS = DEF(IASL_FLAGS) -*_GCC47_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS) - -################## -# GCC47 IA32 definitions -################## -*_GCC47_IA32_OBJCOPY_PATH = DEF(GCC47_IA32_PREFIX)objcopy -*_GCC47_IA32_CC_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_SLINK_PATH = DEF(GCC47_IA32_PREFIX)ar -*_GCC47_IA32_DLINK_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_ASLDLINK_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_ASM_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_PP_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_VFRPP_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_ASLCC_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_ASLPP_PATH = DEF(GCC47_IA32_PREFIX)gcc -*_GCC47_IA32_RC_PATH = DEF(GCC47_IA32_PREFIX)objcopy - -*_GCC47_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32 -*_GCC47_IA32_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 -*_GCC47_IA32_ASM_FLAGS = DEF(GCC47_ASM_FLAGS) -m32 -march=i386 -*_GCC47_IA32_DLINK_FLAGS = DEF(GCC47_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386 -*_GCC47_IA32_DLINK2_FLAGS = DEF(GCC47_IA32_DLINK2_FLAGS) -*_GCC47_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS) -*_GCC47_IA32_OBJCOPY_FLAGS = -*_GCC47_IA32_NASM_FLAGS = -f elf32 - - DEBUG_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -Os -RELEASE_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable - NOOPT_GCC47_IA32_CC_FLAGS = DEF(GCC47_IA32_CC_FLAGS) -O0 - -################## -# GCC47 X64 definitions -################## -*_GCC47_X64_OBJCOPY_PATH = DEF(GCC47_X64_PREFIX)objcopy -*_GCC47_X64_CC_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_SLINK_PATH = DEF(GCC47_X64_PREFIX)ar -*_GCC47_X64_DLINK_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_ASLDLINK_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_ASM_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_PP_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_VFRPP_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_ASLCC_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_ASLPP_PATH = DEF(GCC47_X64_PREFIX)gcc -*_GCC47_X64_RC_PATH = DEF(GCC47_X64_PREFIX)objcopy - -*_GCC47_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64 -*_GCC47_X64_ASLDLINK_FLAGS = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 -*_GCC47_X64_ASM_FLAGS = DEF(GCC47_ASM_FLAGS) -m64 -*_GCC47_X64_DLINK_FLAGS = DEF(GCC47_X64_DLINK_FLAGS) -*_GCC47_X64_DLINK2_FLAGS = DEF(GCC47_X64_DLINK2_FLAGS) -*_GCC47_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS) -*_GCC47_X64_OBJCOPY_FLAGS = -*_GCC47_X64_NASM_FLAGS = -f elf64 - - DEBUG_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS) -Os -RELEASE_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable - NOOPT_GCC47_X64_CC_FLAGS = DEF(GCC47_X64_CC_FLAGS) -O0 - #################################################################################### # # GCC 4.8 - This configuration is used to compile under Linux to produce