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