Changeset 470 for trunk/kBuild/tools
- Timestamp:
- Jul 15, 2006, 6:33:03 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/MINGW32.kmk
r458 r470 4 4 # kBuild Tool Config - MINGW32 GCC. 5 5 # 6 # Copyright (c) 2004-200 5knut st. osmundsen <bird-srcspam@anduin.net>6 # Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net> 7 7 # 8 8 # … … 75 75 TOOL_MINGW32_CXXDEFS := 76 76 77 TOOL_MINGW32_AS := $(_TOOL_MINGW32_PREFIX)as$(_TOOL_MINGW32_SUFF_EXE) 77 TOOL_MINGW32_AS := $(_TOOL_MINGW32_PREFIX)gcc$(_TOOL_MINGW32_SUFF_EXE) 78 TOOL_MINGW32_ASFLAGS := -g -x assembler-with-cpp 78 79 TOOL_MINGW32_ASOBJSUFF := .o 79 80 … … 139 140 define TOOL_MINGW32_COMPILE_CXX_CMDS 140 141 $(TOOL_MINGW32_CXX) -c\ 142 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 143 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\ 144 -o $(obj)\ 145 $(call ABSPATH,$(source)) 146 endef 147 148 149 ## Compile Assembly source. 150 # @param $(target) Normalized main target name. 151 # @param $(source) Source filename (relative). 152 # @param $(obj) Object file name. This shall be (re)created by the compilation. 153 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 154 # @param $(flags) Flags. 155 # @param $(defs) Definitions. No -D or something. 156 # @param $(incs) Includes. No -I or something. 157 # @param $(dirdep) Directory creation dependency. 158 # @param $(deps) Other dependencies. 159 # @param $(outbase) Output basename (full). Use this for list files and such. 160 # @param $(objsuff) Object suffix. 161 # 162 TOOL_MINGW32_COMPILE_AS_OUTPUT = 163 TOOL_MINGW32_COMPILE_AS_DEPEND = 164 TOOL_MINGW32_COMPILE_AS_DEPORD = 165 define TOOL_MINGW32_COMPILE_AS_CMDS 166 $(TOOL_MINGW32_AS) -c\ 141 167 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 142 168 -Wp,-MD,$(dep) -Wp,-MT,$(obj) -Wp,-MP\
Note:
See TracChangeset
for help on using the changeset viewer.