make/linux/makefiles/gcc.make

changeset 3518
719f7007c8e8
parent 3325
f4414323345f
child 3600
7292cff45988
child 3724
d652a62d6e03
equal deleted inserted replaced
3517:c77d473e71f7 3518:719f7007c8e8
21 # questions. 21 # questions.
22 # 22 #
23 # 23 #
24 24
25 #------------------------------------------------------------------------ 25 #------------------------------------------------------------------------
26 # CC, CPP & AS 26 # CC, CXX & AS
27 27
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 CXX = $(ALT_COMPILER_PATH)/g++
32 CC = $(ALT_COMPILER_PATH)/gcc 32 CC = $(ALT_COMPILER_PATH)/gcc
33 HOSTCPP = g++ 33 HOSTCXX = g++
34 HOSTCC = gcc 34 HOSTCC = gcc
35 else 35 else
36 CPP = g++ 36 CXX = g++
37 CC = gcc 37 CC = gcc
38 HOSTCPP = $(CPP) 38 HOSTCXX = $(CXX)
39 HOSTCC = $(CC) 39 HOSTCC = $(CC)
40 endif 40 endif
41 41
42 AS = $(CC) -c 42 AS = $(CC) -c
43 43

mercurial