Add link Map option for GCC tool to generate map file.
[mirror_edk2.git] / Tools / Conf / tools_def.template
1 #
2 # Copyright (c) 2006 - 2007 Intel Corporation. <BR>
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12
13 IDENTIFIER = Default TOOL_CHAIN_CONF
14
15 ####################################################################################
16 #
17 # format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
18 # priorty:
19 # TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
20 # ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
21 # TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
22 # ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
23 # TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
24 # ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
25 # TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
26 # ******_*********_****_COMMANDTYPE_ATTRIBUTE
27 # TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
28 # ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
29 # TARGET_*********_ARCH_***********_ATTRIBUTE
30 # ******_*********_ARCH_***********_ATTRIBUTE
31 # TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
32 # ******_TOOLCHAIN_****_***********_ATTRIBUTE
33 # TARGET_*********_****_***********_ATTRIBUTE
34 # ******_*********_****_***********_ATTRIBUTE (Lowest)
35 #
36 ####################################################################################
37 ####################################################################################
38 #
39 # Supported Tool Chains
40 # =====================
41 # VS2003 - Microsoft Visual Studio .NET 2003
42 # VS2005EXP - Microsoft Visual Studio 2005 Express Edition
43 # VS2005STD - Microsoft Visual Studio 2005 Standard Edition
44 # VS2005PRO - Microsoft Visual Studio 2005 Professional Edition
45 # VS2005TEAMSUITE - Microsoft Visual Studio 2005 Team Suite Edition
46 # WINDDK3790x1830 - Microsoft Windows DDK 3790.1830
47 # UNIXGCC - UNIX GCC
48 # ELFGCC - GCC for Unix Package to produce elf binary.
49 # CYGWINGCC - CygWin GCC
50 # UNIXPKGCYGWINGCC - CygWin GCC for Unix Package.
51 # ICC - Intel C Compiler V9.1
52 # MYTOOLS - Settings compatible with previous versions of tools_def.template
53 #
54 ####################################################################################
55
56 ####################################################################################
57 #
58 # Microsoft Visual Studio .NET 2003 (IA-32 only, with Link Time Code Generation)
59 #
60 ####################################################################################
61
62 *_VS2003_IA32_*_FAMILY = MSFT
63
64 *_VS2003_IA32_CC_NAME = cl.exe
65 *_VS2003_IA32_VFRPP_NAME = cl.exe
66 *_VS2003_IA32_SLINK_NAME = lib.exe
67 *_VS2003_IA32_DLINK_NAME = link.exe
68 *_VS2003_IA32_ASMLINK_NAME = link.exe
69 *_VS2003_IA32_APP_NAME = cl.exe
70 *_VS2003_IA32_PP_NAME = cl.exe
71 *_VS2003_IA32_ASM_NAME = ml.exe
72 *_VS2003_IA32_ASM_EXT = .asm
73 *_VS2003_IA32_PCH_NAME = cl.exe
74
75 ##################
76 # IA32 definitions
77 ##################
78 *_VS2003_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
79 *_VS2003_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
80
81 *_VS2003_IA32_APP_FLAGS = /nologo /P /TC
82 *_VS2003_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
83 *_VS2003_IA32_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
84 DEBUG_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
85 RELEASE_VS2003_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
86 DEBUG_VS2003_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
87 RELEASE_VS2003_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
88 DEBUG_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
89 RELEASE_VS2003_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
90 *_VS2003_IA32_SLINK_FLAGS = /nologo /LTCG
91 DEBUG_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
92 RELEASE_VS2003_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
93
94 ####################################################################################
95 #
96 # Microsoft Device Driver Kit 3790.1830 (IA-32, X64, Itanium, with Link Time Code Generation)
97 #
98 ####################################################################################
99
100 *_WINDDK3790x1830_*_*_FAMILY = MSFT
101
102 *_WINDDK3790x1830_*_CC_NAME = cl.exe
103 *_WINDDK3790x1830_*_VFRPP_NAME = cl.exe
104 *_WINDDK3790x1830_*_SLINK_NAME = lib.exe
105 *_WINDDK3790x1830_*_DLINK_NAME = link.exe
106 *_WINDDK3790x1830_*_ASMLINK_NAME = link.exe
107 *_WINDDK3790x1830_*_PP_NAME = cl.exe
108 *_WINDDK3790x1830_*_APP_NAME = cl.exe
109 *_WINDDK3790x1830_*_PCH_NAME = cl.exe
110
111 *_WINDDK3790x1830_*_APP_FLAGS = /nologo /P /TC
112 *_WINDDK3790x1830_*_SLINK_FLAGS = /nologo /LTCG
113 *_WINDDK3790x1830_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
114 ##################
115 # IA32 definitions
116 ##################
117 *_WINDDK3790x1830_IA32_ASM_NAME = ml.exe
118 *_WINDDK3790x1830_IA32_ASM_EXT = .asm
119 *_WINDDK3790x1830_IA32_*_PATH = C:\WINDDK\3790.1830\bin\x86
120 *_WINDDK3790x1830_IA32_*_DPATH = C:\WINDDK\3790.1830\bin\x86
121 *_WINDDK3790x1830_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
122
123 *_WINDDK3790x1830_IA32_PP_FLAGS = /nologo /P /E /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
124 DEBUG_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
125 RELEASE_WINDDK3790x1830_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
126 DEBUG_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
127 RELEASE_WINDDK3790x1830_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
128 DEBUG_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
129 RELEASE_WINDDK3790x1830_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
130 DEBUG_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
131 RELEASE_WINDDK3790x1830_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
132 *_WINDDK3790x1830_IA32_ASMLINK_FLAGS = /link /nologo /tiny
133
134 ##################
135 # x64 definitions
136 ##################
137 *_WINDDK3790x1830_X64_ASM_NAME = ml64.exe
138 *_WINDDK3790x1830_X64_ASM_EXT = .asm
139 *_WINDDK3790x1830_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
140 *_WINDDK3790x1830_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
141
142 *_WINDDK3790x1830_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
143 DEBUG_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF
144 RELEASE_WINDDK3790x1830_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
145 DEBUG_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm /EHs-c- /GF
146 RELEASE_WINDDK3790x1830_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /EHs-c- /GF
147 DEBUG_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
148 RELEASE_WINDDK3790x1830_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
149 DEBUG_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
150 RELEASE_WINDDK3790x1830_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
151
152 ##################
153 # IPF definitions
154 ##################
155 *_WINDDK3790x1830_IPF_ASM_NAME = ias.exe
156 *_WINDDK3790x1830_IPF_ASM_EXT = .s
157 *_WINDDK3790x1830_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
158
159 *_WINDDK3790x1830_IPF_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
160 DEBUG_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi
161 RELEASE_WINDDK3790x1830_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
162 DEBUG_WINDDK3790x1830_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi
163 RELEASE_WINDDK3790x1830_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
164 DEBUG_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
165 RELEASE_WINDDK3790x1830_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
166 DEBUG_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb /DEBUG
167 RELEASE_WINDDK3790x1830_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF.ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
168
169 ##################
170 # EBC definitions
171 ##################
172 *_WINDDK3790x1830_EBC_*_FAMILY = INTEL
173 *_WINDDK3790x1830_EBC_PP_NAME = iec.exe
174 *_WINDDK3790x1830_EBC_CC_NAME = iec.exe
175 *_WINDDK3790x1830_EBC_DLINK_NAME = link.exe
176 *_WINDDK3790x1830_EBC_SLINK_NAME = link.exe
177 *_WINDDK3790x1830_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
178 *_WINDDK3790x1830_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
179
180 *_WINDDK3790x1830_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
181 *_WINDDK3790x1830_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
182 *_WINDDK3790x1830_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
183 *_WINDDK3790x1830_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
184
185 ##################
186 # ASL definitions
187 ##################
188 *_WINDDK3790x1830_*_ASL_FAMILY = INTEL
189 *_WINDDK3790x1830_*_ASL_NAME = iasl.exe
190 *_WINDDK3790x1830_*_ASL_PATH = C:\ASL
191
192 ####################################################################################
193 #
194 # Microsoft Visual Studio 2005 Express Edition (IA-32 Only, with no Link Time Code Generation)
195 #
196 ####################################################################################
197
198 ####################################################################################
199 #
200 # Microsoft Visual Studio 2005 Standard Edition (IA-32 Only, with no Link Time Code Generation)
201 #
202 ####################################################################################
203
204 ####################################################################################
205 #
206 # Microsoft Visual Studio 2005 Professional Edition (IA-32 and X64 Only, with Link Time Code Generation)
207 #
208 ####################################################################################
209
210 *_VS2005PRO_*_*_FAMILY = MSFT
211
212 *_VS2005PRO_*_CC_NAME = cl.exe
213 *_VS2005PRO_*_SLINK_NAME = lib.exe
214 *_VS2005PRO_*_DLINK_NAME = link.exe
215 *_VS2005PRO_*_ASMLINK_NAME = link.exe
216 *_VS2005PRO_*_PP_NAME = cl.exe
217 *_VS2005PRO_*_APP_NAME = cl.exe
218 *_VS2005PRO_*_VFRPP_NAME = cl.exe
219 *_VS2005PRO_*_PCH_NAME = cl.exe
220
221 *_VS2005PRO_*_SLINK_FLAGS = /NOLOGO /LTCG
222 *_VS2005PRO_*_APP_FLAGS = /nologo /P /TC
223 *_VS2005PRO_*_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
224 *_VS2005PRO_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
225
226 ##################
227 # IA32 definitions
228 ##################
229 *_VS2005PRO_IA32_ASM_NAME = ml.exe
230 *_VS2005PRO_IA32_ASM_EXT = .asm
231 *_VS2005PRO_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin
232 *_VS2005PRO_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
233 *_VS2005PRO_IA32_ASM_PATH = C:\WINDDK\3790.1830\bin\x86
234 *_VS2005PRO_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
235
236 DEBUG_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
237 RELEASE_VS2005PRO_IA32_CC_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
238 DEBUG_VS2005PRO_IA32_PCH_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
239 RELEASE_VS2005PRO_IA32_PCH_FLAGS = /GS- /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
240 DEBUG_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
241 RELEASE_VS2005PRO_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
242 DEBUG_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
243 RELEASE_VS2005PRO_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
244 *_VS2005PRO_IA32_ASMLINK_FLAGS = /link /nologo /tiny
245
246 ##################
247 # x64 definitions
248 ##################
249 *_VS2005PRO_X64_ASM_NAME = ml64.exe
250 *_VS2005PRO_X64_ASM_EXT = .asm
251 *_VS2005PRO_X64_*_PATH = C:\Program Files\Microsoft Visual Studio 8\Vc\bin\x86_amd64
252 *_VS2005PRO_X64_*_DPATH = C:\Program Files\Microsoft Visual Studio 8\VC\bin\x86_amd64;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
253 *_VS2005PRO_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
254
255 DEBUG_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
256 RELEASE_VS2005PRO_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
257 DEBUG_VS2005PRO_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
258 RELEASE_VS2005PRO_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
259 DEBUG_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
260 RELEASE_VS2005PRO_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
261 DEBUG_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
262 RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
263
264 ##################
265 # EBC definitions
266 ##################
267 *_VS2005PRO_EBC_*_FAMILY = INTEL
268 *_VS2005PRO_EBC_PP_NAME = iec.exe
269 *_VS2005PRO_EBC_CC_NAME = iec.exe
270 *_VS2005PRO_EBC_DLINK_NAME = link.exe
271 *_VS2005PRO_EBC_SLINK_NAME = link.exe
272 *_VS2005PRO_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
273 *_VS2005PRO_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
274
275 *_VS2005PRO_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
276 *_VS2005PRO_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
277 *_VS2005PRO_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
278 *_VS2005PRO_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
279
280 ##################
281 # ASL definitions
282 ##################
283 *_VS2005PRO_*_ASL_FAMILY = INTEL
284 *_VS2005PRO_*_ASL_NAME = iasl.exe
285 *_VS2005PRO_*_ASL_PATH = C:\ASL
286
287 ####################################################################################
288 #
289 # Microsoft Visual Studio 2005 Team Suite Edition (IA-32, X64, and Itanium, with Link Time Code Generation)
290 #
291 ####################################################################################
292
293
294 ####################################################################################
295 #
296 # MINGW32
297 #
298 # You can build a mingw32 toolchain by downloading the script package called
299 # x86-mingw32-build.sh from the mingw project home page. It will walk you through
300 # some options and explain what to do.
301 #
302 ####################################################################################
303
304 *_MINGW_*_*_FAMILY = GCC
305
306 *_MINGW_IA32_CC_NAME = gcc
307 *_MINGW_IA32_SLINK_NAME = ar
308 *_MINGW_IA32_DLINK_NAME = ld
309 *_MINGW_IA32_ASM_NAME = gcc
310 *_MINGW_IA32_PP_NAME = gcc
311 *_MINGW_IA32_VFRPP_NAME = gcc
312
313 *_MINGW_*_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
314 *_MINGW_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20
315 *_MINGW_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
316 *_MINGW_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
317 *_MINGW_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
318 *_MINGW_*_ASM_EXT = .S
319
320 *_MINGW_IA32_*_PATH = /opt/mingw/i386-mingw32/bin/
321
322 ####################################################################################
323 #
324 # Unix GCC
325 #
326 ####################################################################################
327
328 *_UNIXGCC_*_*_FAMILY = GCC
329 *_UNIXGCC_*_*_FAMILY = GCC
330
331 *_UNIXGCC_IA32_CC_NAME = gcc
332 *_UNIXGCC_IA32_SLINK_NAME = ar
333 *_UNIXGCC_IA32_DLINK_NAME = ld
334 *_UNIXGCC_IA32_ASM_NAME = gcc
335 *_UNIXGCC_IA32_PP_NAME = gcc
336 *_UNIXGCC_IA32_VFRPP_NAME = gcc
337
338 *_UNIXGCC_X64_CC_NAME = gcc
339 *_UNIXGCC_X64_SLINK_NAME = ar
340 *_UNIXGCC_X64_DLINK_NAME = ld
341 *_UNIXGCC_X64_ASM_NAME = gcc
342 *_UNIXGCC_X64_PP_NAME = gcc
343 *_UNIXGCC_X64_VFRPP_NAME = gcc
344
345 *_UNIXGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include ${DEST_DIR_DEBUG}/AutoGen.h
346 *_UNIXGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
347 *_UNIXGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20 -Map ${DEST_DIR_DEBUG}/${BASE_NAME}.map
348 *_UNIXGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
349 *_UNIXGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
350 *_UNIXGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
351 *_UNIXGCC_*_ASM_EXT = .S
352
353 *_UNIXGCC_IA32_*_PATH = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
354 *_UNIXGCC_X64_*_PATH = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
355
356
357 ####################################################################################
358 #
359 # Cygwin GCC
360 #
361 ####################################################################################
362
363 *_CYGWINGCC_X64_*_FAMILY = GCC
364 *_CYGWINGCC_IA32_*_FAMILY = GCC
365
366 *_CYGWINGCC_IA32_CC_NAME = gcc
367 *_CYGWINGCC_IA32_SLINK_NAME = ar
368 *_CYGWINGCC_IA32_DLINK_NAME = ld
369 *_CYGWINGCC_IA32_ASM_NAME = gcc
370 *_CYGWINGCC_IA32_PP_NAME = gcc
371 *_CYGWINGCC_IA32_VFRPP_NAME = gcc
372
373 *_CYGWINGCC_X64_CC_NAME = gcc
374 *_CYGWINGCC_X64_SLINK_NAME = ar
375 *_CYGWINGCC_X64_DLINK_NAME = ld
376 *_CYGWINGCC_X64_ASM_NAME = gcc
377 *_CYGWINGCC_X64_PP_NAME = gcc
378 *_CYGWINGCC_X64_VFRPP_NAME = gcc
379
380 *_CYGWINGCC_IA32_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
381 *_CYGWINGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
382 *_CYGWINGCC_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20 -Map ${DEST_DIR_DEBUG}/${BASE_NAME}.map
383 *_CYGWINGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
384 *_CYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
385 *_CYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
386 *_CYGWINGCC_*_ASM_EXT = .S
387
388 *_CYGWINGCC_IA32_*_PATH = c:/Cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin
389 *_CYGWINGCC_X64_*_PATH = c:/Cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
390 *_CYGWINGCC_*_*_DPATH = c:/Cygwin/bin
391
392 ####################################################################################
393 #
394 # Elf GCC - This configuration is used to compile on Linux boxes to produce elf
395 # binaries.
396 #
397 ####################################################################################
398
399
400 *_ELFGCC_*_*_FAMILY = GCC
401
402 *_ELFGCC_IA32_CC_NAME = gcc
403 *_ELFGCC_IA32_SLINK_NAME = ar
404 *_ELFGCC_IA32_DLINK_NAME = ld
405 *_ELFGCC_IA32_ASM_NAME = gcc
406 *_ELFGCC_IA32_PP_NAME = gcc
407 *_ELFGCC_IA32_VFRPP_NAME = gcc
408
409 *_ELFGCC_IA32_CC_FLAGS = -m32 -g -fshort-wchar -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings
410 *_ELFGCC_IA32_DLINK_FLAGS = -melf_i386 -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT}
411 *_ELFGCC_IA32_ASM_FLAGS = -m32 -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=name
412 *_ELFGCC_IA32_PP_FLAGS = -m32 -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
413
414 *_ELFGCC_*_DLINK_FLAGS = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT} -Map ${DEST_DIR_DEBUG}/${BASE_NAME}.map
415 *_ELFGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=name
416 *_ELFGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
417 *_ELFGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
418 *_ELFGCC_*_ASM_EXT = .S
419
420 *_ELFGCC_IA32_*_PATH = /usr/bin
421
422 ####################################################################################
423 #
424 # UnixPkg CYGWIN GCC - This configuration is used to compile on CYGWIN environment for UnixPkg.
425 #
426 ####################################################################################
427
428
429 *_UNIXPKGCYGWINGCC_*_*_FAMILY = GCC
430
431 *_UNIXPKGCYGWINGCC_IA32_CC_NAME = gcc
432 *_UNIXPKGCYGWINGCC_IA32_SLINK_NAME = ar
433 *_UNIXPKGCYGWINGCC_IA32_DLINK_NAME = ld
434 *_UNIXPKGCYGWINGCC_IA32_ASM_NAME = gcc
435 *_UNIXPKGCYGWINGCC_IA32_PP_NAME = gcc
436 *_UNIXPKGCYGWINGCC_IA32_VFRPP_NAME = gcc
437
438 *_UNIXPKGCYGWINGCC_IA32_CC_FLAGS = -g -fshort-wchar -fno-strict-aliasing -Wall -malign-double -c -include ${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings -IC:/cygwin/usr/X11R6/include
439 *_UNIXPKGCYGWINGCC_*_DLINK_FLAGS = -nostdlib -n -q -Ttext 0x220 --entry ${ENTRYPOINT} -u ${ENTRYPOINT} -Map ${DEST_DIR_DEBUG}/${BASE_NAME}.map
440 *_UNIXPKGCYGWINGCC_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h -DASM_PFX(name)=_##name
441 *_UNIXPKGCYGWINGCC_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
442 *_UNIXPKGCYGWINGCC_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
443 *_UNIXPKGCYGWINGCC_*_ASM_EXT = .S
444
445 *_UNIXPKGCYGWINGCC_IA32_*_PATH = C:/cygwin/bin
446
447 ####################################################################################
448 #
449 # Mixed x64 - This configuration is used to compile C code with gcc and assemble
450 # with the Microsoft assembler.
451 #
452 ####################################################################################
453
454 *_MIXED_X64_CC_FAMILY = GCC
455 *_MIXED_X64_SLINK_FAMILY = GCC
456 *_MIXED_X64_DLINK_FAMILY = GCC
457 *_MIXED_X64_ASM_FAMILY = MSFT
458 *_MIXED_X64_PP_FAMILY = MSFT
459
460 *_MIXED_X64_CC_NAME = gcc
461 *_MIXED_X64_SLINK_NAME = ar
462 *_MIXED_X64_DLINK_NAME = ld
463 *_MIXED_X64_ASM_NAME = gcc
464 *_MIXED_X64_PP_NAME = cl.exe
465
466 *_MIXED_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
467 *_MIXED_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT} --file-alignment 0x20 --section-alignment 0x20
468 *_MIXED_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
469
470 *_MIXED_X64_ASM_NAME = ml64.exe
471 *_MIXED_X64_ASM_PATH = C:/WINDDK/3790.1830/bin/win64/x86/amd64
472 *_MIXED_X64_CC_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
473 *_MIXED_X64_PP_PATH = C:/WINDDK/3790.1830/bin/win64/x86/amd64
474 *_MIXED_X64_SLINK_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
475 *_MIXED_X64_DLINK_PATH = C:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin
476 *_MIXED_X64_ASMLINK_PATH = C:/WINDDK/3790.1830/bin/bin16/
477
478 DEBUG_MIXED_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
479 RELEASE_MIXED_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
480
481 ####################################################################################
482 #
483 # Intel EFI Byte Code Compiler (Template)
484 #
485 ####################################################################################
486 #
487 # *_*_EBC_*_FAMILY = INTEL
488 # *_*_EBC_PP_NAME = iec.exe
489 # *_*_EBC_CC_NAME = iec.exe
490 # *_*_EBC_SLINK_NAME = link.exe
491 # *_*_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
492 # *_*_EBC_*_SPATH = C:\Program Files\Intel\EBC\Lib\EbcLib.lib
493 #
494 # *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
495 # *_*_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
496 # *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
497 # *_*_EBC_DLINK_FLAGS = /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
498 #
499 ####################################################################################
500 #
501 # Intel ACPI Source Language Compiler (Template)
502 #
503 ####################################################################################
504 #
505 # *_*_*_ASL_FAMILY = INTEL
506 # *_*_*_ASL_NAME = iasl.exe
507 # *_*_*_ASL_PATH = C:\ASL
508 #
509 ####################################################################################
510 #
511 # Microsoft ACPI Source Language Compiler (Template)
512 #
513 ####################################################################################
514 #
515 # *_*_*_ASL_FAMILY = MSFT
516 # *_*_*_ASL_NAME = asl.exe
517 # *_*_*_ASL_PATH = C:\ASL
518 #
519
520
521 ####################################################################################
522 #
523 # Intel(R) C++ Compiler Version 9.1
524 #
525 # IPF - Intel(R) C++ Compiler for Itanium(R)Version 9.1 Build 20060928 Package ID: W_CC_C_9.1.032
526 # ASL - Intel ACPI Source Language COmpiler
527 #
528 ####################################################################################
529 *_ICC_*_*_FAMILY = MSFT
530
531 *_ICC_*_CC_NAME = cl.exe
532 *_ICC_*_SLINK_NAME = lib.exe
533 *_ICC_*_DLINK_NAME = link.exe
534 *_ICC_*_ASMLINK_NAME = link.exe
535 *_ICC_*_PP_NAME = cl.exe
536 *_ICC_*_VFRPP_NAME = cl.exe
537 *_ICC_*_APP_NAME = cl.exe
538 *_ICC_*_ASM_NAME = ml.exe
539
540 *_ICC_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
541 ##################
542 # IA32 definitions
543 ##################
544 *_ICC_IA32_PCH_NAME = cl.exe
545 *_ICC_IA32_ASM_EXT = .asm
546
547 *_ICC_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
548 *_ICC_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
549 *_ICC_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
550
551 *_ICC_IA32_APP_FLAGS = /nologo /P /TC
552 *_ICC_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
553 DEBUG_ICC_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
554 RELEASE_ICC_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
555 DEBUG_ICC_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
556 RELEASE_ICC_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DEFI_FIRMWARE_VENDOR=L\"INTEL\" /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
557 DEBUG_ICC_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
558 RELEASE_ICC_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
559 *_ICC_IA32_SLINK_FLAGS = /nologo /LTCG
560 DEBUG_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
561 RELEASE_ICC_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
562
563
564 ##################
565 # IPF definitions
566 ##################
567 *_ICC_IPF_*_FAMILY = INTEL
568
569 *_ICC_IPF_CC_NAME = icl.exe
570 *_ICC_IPF_SLINK_NAME = xilib.exe
571 *_ICC_IPF_DLINK_NAME = xilink.exe
572 *_ICC_IPF_ASMLINK_NAME = xilink.exe
573 *_ICC_IPF_PP_NAME = icl.exe
574 *_ICC_IPF_VFRPP_NAME = icl.exe
575
576 #*_ICC_IPF_PCH_NAME = icl.exe
577 *_ICC_IPF_APP_NAME = icl.exe
578 *_ICC_IPF_ASM_NAME = ias.exe
579 *_ICC_IPF_ASM_EXT = .s
580
581
582
583 *_ICC_IPF_*_PATH = C:\Program Files\Intel\Compiler\C++\9.1\Itanium\Bin
584
585 *_ICC_IPF_APP_FLAGS = /nologo /P /TC
586 *_ICC_IPF_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
587 DEBUG_ICC_IPF_CC_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Zi
588 RELEASE_ICC_IPF_CC_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h
589 #DEBUG_ICC_IPF_PCH_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Yc /TC /Zi
590 #RELEASE_ICC_IPF_PCH_FLAGS = /nologo /QIA64_fr32 /W4 /WX /GX /Gy /c /Od /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Yc /TC
591 DEBUG_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -d debug -F COFF32
592 RELEASE_ICC_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W3 -F COFF32
593 DEBUG_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb /DEBUG
594 RELEASE_ICC_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:64 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
595 *_ICC_IPF_SLINK_FLAGS = /nologo /LTCG
596
597
598 ##################
599 # ASL definitions
600 ##################
601 *_ICC_*_ASL_FAMILY = INTEL
602 *_ICC_*_ASL_NAME = iasl.exe
603 *_ICC_*_ASL_PATH = C:\ASL
604
605 ####################################################################################
606 #
607 # MYTOOLS
608 # IA32 - Microsoft Visual Studio .NET 2003 and Microsoft Windows DDK 3790.1830 for 16-bit linker
609 # X64 - Microsoft Windows DDK 3790.1830
610 # IPF - Microsoft Windows DDK 3790.1830
611 # EBC - Intel EFI Byte Code Compiler
612 # ASL - Intel ACPI Source Language COmpiler
613 #
614 ####################################################################################
615 *_MYTOOLS_*_*_FAMILY = MSFT
616
617 *_MYTOOLS_*_CC_NAME = cl.exe
618 *_MYTOOLS_*_SLINK_NAME = lib.exe
619 *_MYTOOLS_*_DLINK_NAME = link.exe
620 *_MYTOOLS_*_ASMLINK_NAME = link.exe
621 *_MYTOOLS_*_PP_NAME = cl.exe
622 *_MYTOOLS_*_VFRPP_NAME = cl.exe
623 *_MYTOOLS_*_APP_NAME = cl.exe
624 *_MYTOOLS_*_ASM_NAME = ml.exe
625
626 *_MYTOOLS_*_VFRPP_FLAGS = /nologo /P /TC /DVFRCOMPILE
627 ##################
628 # IA32 definitions
629 ##################
630 *_MYTOOLS_IA32_PCH_NAME = cl.exe
631 *_MYTOOLS_IA32_ASM_EXT = .asm
632
633 *_MYTOOLS_IA32_*_PATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
634 *_MYTOOLS_IA32_*_DPATH = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
635 *_MYTOOLS_IA32_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
636
637 *_MYTOOLS_IA32_APP_FLAGS = /nologo /P /TC
638 *_MYTOOLS_IA32_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
639 DEBUG_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm
640 RELEASE_MYTOOLS_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
641 DEBUG_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm
642 RELEASE_MYTOOLS_IA32_PCH_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /O1ib2 /GL /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF /Gs8192 /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
643 DEBUG_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
644 RELEASE_MYTOOLS_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0
645 *_MYTOOLS_IA32_ASMLINK_FLAGS = /link /nologo /tiny
646 *_MYTOOLS_IA32_SLINK_FLAGS = /nologo /LTCG
647 DEBUG_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
648 RELEASE_MYTOOLS_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /MACHINE:I386 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
649
650 ##################
651 # x64 definitions
652 ##################
653 *_MYTOOLS_X64_PCH_NAME = cl.exe
654 *_MYTOOLS_X64_ASM_NAME = ml64.exe
655 *_MYTOOLS_X64_ASM_EXT = .asm
656
657 *_MYTOOLS_X64_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86\amd64
658 *_MYTOOLS_X64_ASMLINK_PATH = C:\WINDDK\3790.1830\bin\bin16\
659
660 *_MYTOOLS_X64_SLINK_FLAGS = /nologo /LTCG
661 *_MYTOOLS_X64_APP_FLAGS = /nologo /P /TC
662 *_MYTOOLS_X64_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
663 DEBUG_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi /Gm /EHs-c- /GF
664 RELEASE_MYTOOLS_X64_CC_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /EHs-c- /GF
665 DEBUG_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi /Gm /EHs-c- /GF
666 RELEASE_MYTOOLS_X64_PCH_FLAGS = /nologo /X /W4 /WX /c /Gs8192 /GS- /D UNICODE /O1ib2s /GL /Gy /D EFIX64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /EHs-c- /GF
667 DEBUG_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd /Zi
668 RELEASE_MYTOOLS_X64_ASM_FLAGS = /nologo /W3 /WX /c /Cx /Zd
669 DEBUG_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
670 RELEASE_MYTOOLS_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /Machine:AMD64 /LTCG /DLL /ENTRY:${ENTRYPOINT} /SUBSYSTEM:CONSOLE /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.data=.text /MERGE:.rdata=.text
671
672 ##################
673 # IPF definitions
674 ##################
675 *_MYTOOLS_IPF_PCH_NAME = cl.exe
676 *_MYTOOLS_IPF_ASM_NAME = ias.exe
677 *_MYTOOLS_IPF_ASM_EXT = .s
678
679 *_MYTOOLS_IPF_*_PATH = C:\WINDDK\3790.1830\bin\win64\x86
680
681 *_MYTOOLS_IPF_APP_FLAGS = /nologo /P /TC
682 *_MYTOOLS_IPF_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
683 DEBUG_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h /Zi
684 RELEASE_MYTOOLS_IPF_CC_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yu${DEST_DIR_DEBUG}/AutoGen.h
685 DEBUG_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC /Zi
686 RELEASE_MYTOOLS_IPF_PCH_FLAGS = /GS- /nologo /QIPF_fr32 /W4 /WX /EHs-c- /Gy /c /Os /GL /X /D EFI64 /DSTRING_ARRAY_NAME=${BASE_NAME}Strings /FI${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch /Yc /TC
687 DEBUG_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4 -d debug
688 RELEASE_MYTOOLS_IPF_ASM_FLAGS = -N us -X explicit -M ilp64 -N so -W4
689 DEBUG_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb /DEBUG
690 RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF,ICF /IGNORE:4086 /MAP /ALIGN:32 /MACHINE:IA64 /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MAP:${DEST_DIR_DEBUG}/${BASE_NAME}.map /PDB:${DEST_DIR_DEBUG}/${BASE_NAME}.pdb
691 *_MYTOOLS_IPF_SLINK_FLAGS = /nologo /LTCG
692
693 ##################
694 # EBC definitions
695 ##################
696 *_MYTOOLS_EBC_*_FAMILY = INTEL
697 *_MYTOOLS_EBC_PP_NAME = iec.exe
698 *_MYTOOLS_EBC_CC_NAME = iec.exe
699 *_MYTOOLS_EBC_DLINK_NAME = link.exe
700 *_MYTOOLS_EBC_SLINK_NAME = link.exe
701
702 *_MYTOOLS_EBC_*_PATH = C:\Program Files\Intel\EBC\Bin
703 *_MYTOOLS_EBC_*_SPATH = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib"
704
705 *_MYTOOLS_EBC_PP_FLAGS = /nologo /P /TC /FI${DEST_DIR_DEBUG}/AutoGen.h
706 *_MYTOOLS_EBC_CC_FLAGS = /nologo /c /W3 /WX /FI${DEST_DIR_DEBUG}/AutoGen.h /DSTRING_ARRAY_NAME=${BASE_NAME}Strings
707 *_MYTOOLS_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
708 *_MYTOOLS_EBC_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:${ENTRYPOINT} /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
709
710 ##################
711 # ASL definitions
712 ##################
713 *_MYTOOLS_*_ASL_FAMILY = INTEL
714 *_MYTOOLS_*_ASL_NAME = iasl.exe
715 *_MYTOOLS_*_ASL_PATH = C:\ASL