Mercurial > hg > truffle
comparison make/linux/makefiles/gcc.make @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 1d1603768966 |
children | 250642c729b4 |
comparison
equal
deleted
inserted
replaced
2490:29246b1d2d3c | 2491:0654ee04b214 |
---|---|
1 # | 1 # |
2 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
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 |