make/linux/makefiles/gcc.make

changeset 2683
7e88bdae86ec
parent 2507
d70fe6ab4436
child 2708
1d1603768966
equal deleted inserted replaced
2681:b2949bf39900 2683: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

mercurial