--- old/make/linux/makefiles/gcc.make 2010-10-28 13:45:55.000000000 +0200 +++ new/make/linux/makefiles/gcc.make 2010-10-28 13:45:55.000000000 +0200 @@ -44,7 +44,8 @@ ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0" USE_PRECOMPILED_HEADER=1 PRECOMPILED_HEADER_DIR=. -PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/incls/_precompiled.incl.gch +PRECOMPILED_HEADER_SRC=$(GAMMADIR)/src/share/vm/precompiled.hpp +PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/precompiled.hpp.gch endif @@ -91,6 +92,14 @@ CFLAGS += -DE500V2 endif +# Used for platform dispatching +CFLAGS += -DTARGET_OS_FAMILY_$(Platform_os_family) +CFLAGS += -DTARGET_ARCH_$(Platform_arch) +CFLAGS += -DTARGET_ARCH_MODEL_$(Platform_arch_model) +CFLAGS += -DTARGET_OS_ARCH_$(Platform_os_arch) +CFLAGS += -DTARGET_OS_ARCH_MODEL_$(Platform_os_arch_model) +CFLAGS += -DTARGET_COMPILER_$(Platform_compiler) + # Use C++ Interpreter ifdef CC_INTERP CFLAGS += -DCC_INTERP