Changeset 2534 for trunk/kBuild/tools/GXX64.kmk
- Timestamp:
- Aug 2, 2011, 4:13:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GXX64.kmk
r2431 r2534 59 59 TOOL_GXX64_LD_SYSMOD_MAP ?= 60 60 endif 61 if1of ($(KBUILD_HOST), solaris) 62 TOOL_GXX64_OBJCOPY ?= gobjcopy$(HOSTSUFF_EXE) 63 else 64 TOOL_GXX64_OBJCOPY ?= objcopy$(HOSTSUFF_EXE) 65 endif 66 61 67 ifdef SLKRUNS 62 68 TOOL_GXX64_CC += -fmessage-length=0 … … 248 254 TOOL_GXX64_LINK_PROGRAM_OUTPUT = 249 255 TOOL_GXX64_LINK_PROGRAM_OUTPUT_MAYBE = $(outbase).map 256 TOOL_GXX64_LINK_PROGRAM_OUTPUT_DEBUG = $(outbase).debug 257 TOOL_GXX64_LINK_PROGRAM_DEBUG_INSTALL_FN = $(2).debug=>$(basename $(3)).debug 250 258 TOOL_GXX64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) 251 259 TOOL_GXX64_LINK_PROGRAM_DEPORD = … … 255 263 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 256 264 $(call TOOL_GXX64_LD_MAP,$(outbase).map) 265 ifeq ($(ld_debug),split) 266 $(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 267 $(CHMOD) a-x $(outbase).debug 268 $(TOOL_GXX64_OBJCOPY) --strip-debug $(out) 269 $(TOOL_GXX64_OBJCOPY) --add-gnu-debuglink=$(outbase).debug $(out) 270 endif 257 271 endef 258 272
Note:
See TracChangeset
for help on using the changeset viewer.