Mercurial > hg > truffle
comparison make/linux/makefiles/gcc.make @ 3954:da0999c4b733
7071904: 4/4 HotSpot: Full Debug Symbols
Summary: Add support for .debuginfo files for HSX libraries.
Reviewed-by: poonam, dholmes, never
author | dcubed |
---|---|
date | Fri, 16 Sep 2011 16:21:20 -0700 |
parents | 250642c729b4 |
children | 95009f678859 |
comparison
equal
deleted
inserted
replaced
3950:5a3c2bc614ca | 3954:da0999c4b733 |
---|---|
223 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | 223 DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) |
224 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) | 224 ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) |
225 DEBUG_CFLAGS += -gstabs | 225 DEBUG_CFLAGS += -gstabs |
226 endif | 226 endif |
227 | 227 |
228 ifneq ($(OBJCOPY),) | |
229 FASTDEBUG_CFLAGS/ia64 = -g | |
230 FASTDEBUG_CFLAGS/amd64 = -g | |
231 FASTDEBUG_CFLAGS/arm = -g | |
232 FASTDEBUG_CFLAGS/ppc = -g | |
233 FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | |
234 ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) | |
235 FASTDEBUG_CFLAGS += -gstabs | |
236 endif | |
237 | |
238 OPT_CFLAGS/ia64 = -g | |
239 OPT_CFLAGS/amd64 = -g | |
240 OPT_CFLAGS/arm = -g | |
241 OPT_CFLAGS/ppc = -g | |
242 OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH)) | |
243 ifeq ($(OPT_CFLAGS/$(BUILDARCH)),) | |
244 OPT_CFLAGS += -gstabs | |
245 endif | |
246 endif | |
247 | |
228 # DEBUG_BINARIES overrides everything, use full -g debug information | 248 # DEBUG_BINARIES overrides everything, use full -g debug information |
229 ifeq ($(DEBUG_BINARIES), true) | 249 ifeq ($(DEBUG_BINARIES), true) |
230 DEBUG_CFLAGS = -g | 250 DEBUG_CFLAGS = -g |
231 CFLAGS += $(DEBUG_CFLAGS) | 251 CFLAGS += $(DEBUG_CFLAGS) |
232 endif | 252 endif |
240 # We are building Embedded for a small device | 260 # We are building Embedded for a small device |
241 # favor code space over speed | 261 # favor code space over speed |
242 ifdef MINIMIZE_RAM_USAGE | 262 ifdef MINIMIZE_RAM_USAGE |
243 CFLAGS += -DMINIMIZE_RAM_USAGE | 263 CFLAGS += -DMINIMIZE_RAM_USAGE |
244 endif | 264 endif |
265 | |
266 ifdef CROSS_COMPILE_ARCH | |
267 STRIP = $(ALT_COMPILER_PATH)/strip | |
268 else | |
269 STRIP = strip | |
270 endif |