annotate build/linux/makefiles/fastdebug.make @ 0:a61af66fc99e

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
parents
children
rev   line source
duke@0 1 #
duke@0 2 # Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 6 # under the terms of the GNU General Public License version 2 only, as
duke@0 7 # published by the Free Software Foundation.
duke@0 8 #
duke@0 9 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 12 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 13 # accompanied this code).
duke@0 14 #
duke@0 15 # You should have received a copy of the GNU General Public License version
duke@0 16 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 18 #
duke@0 19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@0 20 # CA 95054 USA or visit www.sun.com if you need additional information or
duke@0 21 # have any questions.
duke@0 22 #
duke@0 23 #
duke@0 24
duke@0 25 # Sets make macros for making debug version of VM
duke@0 26
duke@0 27 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make
duke@0 28 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS)
duke@0 29 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))
duke@0 30
duke@0 31 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
duke@0 32
duke@0 33 ifeq ($(BUILDARCH), ia64)
duke@0 34 # Bug in GCC, causes hang. -O1 will override the -O3 specified earlier
duke@0 35 OPT_CFLAGS/callGenerator.o += -O1
duke@0 36 OPT_CFLAGS/ciTypeFlow.o += -O1
duke@0 37 OPT_CFLAGS/compile.o += -O1
duke@0 38 OPT_CFLAGS/concurrentMarkSweepGeneration.o += -O1
duke@0 39 OPT_CFLAGS/doCall.o += -O1
duke@0 40 OPT_CFLAGS/generateOopMap.o += -O1
duke@0 41 OPT_CFLAGS/generateOptoStub.o += -O1
duke@0 42 OPT_CFLAGS/graphKit.o += -O1
duke@0 43 OPT_CFLAGS/instanceKlass.o += -O1
duke@0 44 OPT_CFLAGS/interpreterRT_ia64.o += -O1
duke@0 45 OPT_CFLAGS/output.o += -O1
duke@0 46 OPT_CFLAGS/parse1.o += -O1
duke@0 47 OPT_CFLAGS/runtime.o += -O1
duke@0 48 OPT_CFLAGS/synchronizer.o += -O1
duke@0 49 endif
duke@0 50
duke@0 51
duke@0 52 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
duke@0 53 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)
duke@0 54
duke@0 55 # Set the environment variable HOTSPARC_GENERIC to "true"
duke@0 56 # to inhibit the effect of the previous line on CFLAGS.
duke@0 57
duke@0 58 # Linker mapfile
duke@0 59 MAPFILE = $(GAMMADIR)/build/linux/makefiles/mapfile-vers-debug
duke@0 60
duke@0 61 G_SUFFIX =
duke@0 62 VERSION = optimized
duke@0 63 SYSDEFS += -DASSERT -DFASTDEBUG
duke@0 64 PICFLAGS = DEFAULT