mirror of https://github.com/acidanthera/audk.git
fixed GCC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@759 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b775e03a84
commit
cfa5a9c5d1
|
@ -146,7 +146,7 @@
|
|||
<TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
|
||||
<DatumType>UINT32</DatumType>
|
||||
<MaxDatumSize>4</MaxDatumSize>
|
||||
<Value>0x10000000</Value>
|
||||
<Value>0x10000</Value>
|
||||
</PcdData>
|
||||
<PcdData ItemType="FIXED_AT_BUILD">
|
||||
<C_Name>PcdMaximumUnicodeStringLength</C_Name>
|
||||
|
@ -15100,7 +15100,7 @@
|
|||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}", "--subsystem ${SUBSYSTEM}"
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}"
|
||||
</Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
|
||||
|
|
|
@ -4133,7 +4133,7 @@
|
|||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}", "--subsystem ${SUBSYSTEM}"
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}"
|
||||
</Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
|
||||
|
|
|
@ -2613,7 +2613,7 @@
|
|||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols"
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}"
|
||||
</Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
|
||||
|
|
|
@ -840,7 +840,7 @@
|
|||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}", "--subsystem ${SUBSYSTEM}"
|
||||
"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}"
|
||||
</Option>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
|
||||
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
|
||||
|
|
|
@ -136,7 +136,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
<sequential>
|
||||
|
||||
<cc userdefine="on">
|
||||
<command type="CC" cmd="${CC}" workdir="${DEST_DIR_OUTPUT}" family="${CC_FAMILY}">
|
||||
<command type="PP" cmd="${PP}" workdir="${DEST_DIR_OUTPUT}" family="${PP_FAMILY}">
|
||||
<EXTRA.INC/>
|
||||
<argument value="${PP_FLAGS}"/>
|
||||
<fileset casesensitive="off" file="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
|
||||
|
@ -211,7 +211,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
<sequential>
|
||||
<cc userdefine="on">
|
||||
<command type="CC" cmd="${CC}" workdir="${DEST_DIR_OUTPUT}/@{FILEPATH}" family="${CC_FAMILY}">
|
||||
<command type="PP" cmd="${PP}" workdir="${DEST_DIR_OUTPUT}/@{FILEPATH}" family="${PP_FAMILY}">
|
||||
<EXTRA.INC.1/>
|
||||
<argument value="${PP_FLAGS}"/>
|
||||
<fileset casesensitive="off" file="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
|
||||
|
@ -283,7 +283,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
<sequential>
|
||||
<cc userdefine="on">
|
||||
<command type="CC" cmd="${CC}" workdir="${DEST_DIR_OUTPUT}/@{FILEPATH}" family="${CC_FAMILY}">
|
||||
<command type="PP" cmd="${PP}" workdir="${DEST_DIR_OUTPUT}/@{FILEPATH}" family="${PP_FAMILY}">
|
||||
<EXTRA.INC.1/>
|
||||
<argument value="${PP_FLAGS}"/>
|
||||
<fileset casesensitive="off" file="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
|
||||
|
@ -522,7 +522,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
<cc userdefine="on">
|
||||
<command type="CC" cmd="${CC}" workdir="${DEST_DIR_OUTPUT}"
|
||||
includepathDelimiter="-I"
|
||||
includepathDelimiter="-I" family="${CC_FAMILY}"
|
||||
outputFile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.obj" >
|
||||
<argument value="${CC_FLAGS}"/>
|
||||
<EXTRA.INC/>
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
|
||||
|
||||
#Default values
|
||||
*_MSFT_*_*_FAMILY = MSFT
|
||||
*_MSFT_*_ASL_FAMILY = INTEL
|
||||
*_MSFT_*_*_FAMILY = MSFT
|
||||
*_MSFT_*_ASL_FAMILY = INTEL
|
||||
|
||||
*_MSFT_*_CC_NAME = cl.exe
|
||||
*_MSFT_*_SLINK_NAME = lib.exe
|
||||
*_MSFT_*_DLINK_NAME = link.exe
|
||||
*_MSFT_*_ASM_NAME = ml.exe
|
||||
*_MSFT_*_ASMLINK_NAME = link.exe
|
||||
*_MSFT_*_ASL_NAME = iasl.exe
|
||||
*_MSFT_*_PP_NAME = cl.exe
|
||||
*_MSFT_*_CC_NAME = cl.exe
|
||||
*_MSFT_*_SLINK_NAME = lib.exe
|
||||
*_MSFT_*_DLINK_NAME = link.exe
|
||||
*_MSFT_*_ASM_NAME = ml.exe
|
||||
*_MSFT_*_ASMLINK_NAME = link.exe
|
||||
*_MSFT_*_ASL_NAME = iasl.exe
|
||||
*_MSFT_*_PP_NAME = cl.exe
|
||||
|
||||
# HOST definitions
|
||||
#*_MSFT_HOST_*_PATH = C:\Program Files\Intel\Compiler\C++\9.0\IA32\Bin
|
||||
|
@ -25,35 +25,37 @@
|
|||
*_MSFT_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
|
||||
#*_MSFT_IA32_ASM_EXT = .asm
|
||||
|
||||
# DEBUG_MSFT_IA32_CC_PATH =
|
||||
|
||||
# x64 definitions
|
||||
*_MSFT_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
|
||||
*_MSFT_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\Bin\Bin16\
|
||||
*_MSFT_X64_ASL_PATH = C:\TianoTools\Bin
|
||||
*_MSFT_X64_ASM_NAME = ml64.exe
|
||||
*_MSFT_X64_ASM_EXT = .asm
|
||||
*_MSFT_X64_ASM_NAME = ml64.exe
|
||||
*_MSFT_X64_ASM_EXT = .asm
|
||||
|
||||
# IPF definitions
|
||||
*_MSFT_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
|
||||
*_MSFT_IPF_ASM_NAME = ias.exe
|
||||
*_MSFT_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
|
||||
*_MSFT_IPF_ASM_NAME = ias.exe
|
||||
|
||||
# EBC definitions
|
||||
*_MSFT_EBC_*_FAMILY = INTEL
|
||||
*_MSFT_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
|
||||
*_MSFT_EBC_*_SPATH = C:\Progra~1\Intel\EBC\Lib\EbcLib.lib
|
||||
*_MSFT_EBC_CC_NAME = iec.exe
|
||||
*_MSFT_EBC_SLINK_NAME = link.exe
|
||||
*_MSFT_EBC_*_FAMILY = INTEL
|
||||
*_MSFT_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
|
||||
*_MSFT_EBC_*_SPATH = C:\Progra~1\Intel\EBC\Lib\EbcLib.lib
|
||||
*_MSFT_EBC_CC_NAME = iec.exe
|
||||
*_MSFT_EBC_SLINK_NAME = link.exe
|
||||
|
||||
# GCC definitions
|
||||
#*_GCC_*_*_FAMILY = GCC
|
||||
#*_GCC_*_CC_NAME = gcc
|
||||
#*_GCC_*_SLINK_NAME = ar
|
||||
#*_GCC_*_DLINK_NAME = ld
|
||||
#*_GCC_*_ASM_NAME = ml.exe
|
||||
#*_GCC_*_PP_NAME=gcc
|
||||
#*_GCC_*_*_FAMILY = GCC
|
||||
#*_GCC_*_CC_NAME = gcc
|
||||
#*_GCC_*_SLINK_NAME = ar
|
||||
#*_GCC_*_DLINK_NAME = ld
|
||||
|
||||
# GCC, IA32
|
||||
#*_GCC_IA32_*_PATH = C:\cygwin\opt\tiano\i386-tiano-pe\i386-tiano-pe\bin
|
||||
#*_GCC_IA32_ASM_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
|
||||
#*_GCC_IA32_ASM_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
|
||||
#*_GCC_IA32_*_PATH = C:\cygwin\opt\tiano\i386-tiano-pe\i386-tiano-pe\bin
|
||||
#*_GCC_IA32_ASM_FAMILY = MSFT
|
||||
#*_GCC_IA32_ASM_NAME = ml.exe
|
||||
#*_GCC_IA32_ASM_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
|
||||
#*_GCC_IA32_ASM_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
|
||||
#*_GCC_IA32_PP_FAMILY = MSFT
|
||||
#*_GCC_IA32_PP_NAME = cl.exe
|
||||
#*_GCC_IA32_PP_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
|
||||
#*_GCC_IA32_PP_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
|
||||
|
|
Loading…
Reference in New Issue