Changeset 2534 for trunk/kBuild/tools/GXX32.kmk
- Timestamp:
- Aug 2, 2011, 4:13:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GXX32.kmk
r2431 r2534 59 59 TOOL_GXX32_LD_SYSMOD_MAP ?= 60 60 endif 61 if1of ($(KBUILD_HOST), solaris) 62 TOOL_GXX32_OBJCOPY ?= gobjcopy$(HOSTSUFF_EXE) 63 else 64 TOOL_GXX32_OBJCOPY ?= objcopy$(HOSTSUFF_EXE) 65 endif 66 61 67 ifdef SLKRUNS 62 TOOL_GXX32_CC += -fmessage-length=063 TOOL_GXX32_CXX += -fmessage-length=068 TOOL_GXX32_CC += -fmessage-length=0 69 TOOL_GXX32_CXX += -fmessage-length=0 64 70 endif 65 71 … … 93 99 TOOL_GXX32_LDFLAGS.debug ?= -g 94 100 TOOL_GXX32_LDFLAGS.profile ?= -g 101 95 102 96 103 … … 169 176 -o $(obj)\ 170 177 - 178 $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" 171 179 endef 172 180 else # !KBUILD_USE_KOBJCACHE … … 178 186 -o $(obj)\ 179 187 $(abspath $(source)) 188 $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" 180 189 endef 181 190 endif # !KBUILD_USE_KOBJCACHE … … 204 213 -o $(obj)\ 205 214 $(abspath $(source)) 215 $(QUIET)$(APPEND) -n "$(dep)" "" "$(source):" "" 206 216 endef 207 217 … … 245 255 TOOL_GXX32_LINK_PROGRAM_OUTPUT = 246 256 TOOL_GXX32_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).map 257 TOOL_GXX32_LINK_PROGRAM_OUTPUT_DEBUG = $(outbase).debug 258 TOOL_GXX32_LINK_PROGRAM_DEBUG_INSTALL_FN = $(2).debug=>$(basename $(3)).debug 247 259 TOOL_GXX32_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) 248 260 TOOL_GXX32_LINK_PROGRAM_DEPORD = … … 252 264 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 253 265 $(call TOOL_GXX32_LD_MAP,$(outbase).map) 266 ifeq ($(ld_debug),split) 267 $(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 268 $(CHMOD) a-x $(outbase).debug 269 $(TOOL_GXX32_OBJCOPY) --strip-debug $(out) 270 $(TOOL_GXX32_OBJCOPY) --add-gnu-debuglink=$(outbase).debug $(out) 271 endif 254 272 endef 255 273
Note:
See TracChangeset
for help on using the changeset viewer.