comparison make/linux/makefiles/gcc.make @ 2401:7e88bdae86ec

7029017: Additional architecture support for c2 compiler Summary: Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it. Reviewed-by: kvn, never
author roland
date Fri, 25 Mar 2011 09:35:39 +0100
parents d70fe6ab4436
children 1d1603768966
comparison
equal deleted inserted replaced
2399:b2949bf39900 2401:7e88bdae86ec
28 # When cross-compiling the ALT_COMPILER_PATH points 28 # When cross-compiling the ALT_COMPILER_PATH points
29 # to the cross-compilation toolset 29 # to the cross-compilation toolset
30 ifdef CROSS_COMPILE_ARCH 30 ifdef CROSS_COMPILE_ARCH
31 CPP = $(ALT_COMPILER_PATH)/g++ 31 CPP = $(ALT_COMPILER_PATH)/g++
32 CC = $(ALT_COMPILER_PATH)/gcc 32 CC = $(ALT_COMPILER_PATH)/gcc
33 HOSTCPP = g++
34 HOSTCC = gcc
33 else 35 else
34 CPP = g++ 36 CPP = g++
35 CC = gcc 37 CC = gcc
38 HOSTCPP = $(CPP)
39 HOSTCC = $(CC)
36 endif 40 endif
37 41
38 AS = $(CC) -c 42 AS = $(CC) -c
39 43
40 # -dumpversion in gcc-2.91 shows "egcs-2.91.66". In later version, it only 44 # -dumpversion in gcc-2.91 shows "egcs-2.91.66". In later version, it only