| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.97 2009/12/01 04:44:17 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.98 2010/03/15 23:51:14 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: toolchain-funcs.eclass |
5 | # @ECLASS: toolchain-funcs.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Toolchain Ninjas <toolchain@gentoo.org> |
7 | # Toolchain Ninjas <toolchain@gentoo.org> |
| 8 | # @BLURB: functions to query common info about the toolchain |
8 | # @BLURB: functions to query common info about the toolchain |
| … | |
… | |
| 90 | tc-getGCJ() { tc-getPROG GCJ gcj "$@"; } |
90 | tc-getGCJ() { tc-getPROG GCJ gcj "$@"; } |
| 91 | # @FUNCTION: tc-getPKG_CONFIG |
91 | # @FUNCTION: tc-getPKG_CONFIG |
| 92 | # @USAGE: [toolchain prefix] |
92 | # @USAGE: [toolchain prefix] |
| 93 | # @RETURN: name of the pkg-config tool |
93 | # @RETURN: name of the pkg-config tool |
| 94 | tc-getPKG_CONFIG() { tc-getPROG PKG_CONFIG pkg-config "$@"; } |
94 | tc-getPKG_CONFIG() { tc-getPROG PKG_CONFIG pkg-config "$@"; } |
|
|
95 | # @FUNCTION: tc-getRC |
|
|
96 | # @USAGE: [toolchain prefix] |
|
|
97 | # @RETURN: name of the Windows resource compiler |
|
|
98 | tc-getRC() { tc-getPROG RC windres "$@"; } |
|
|
99 | # @FUNCTION: tc-getDLLWRAP |
|
|
100 | # @USAGE: [toolchain prefix] |
|
|
101 | # @RETURN: name of the Windows dllwrap utility |
|
|
102 | tc-getDLLWRAP() { tc-getPROG DLLWRAP dllwrap "$@"; } |
| 95 | |
103 | |
| 96 | # @FUNCTION: tc-getBUILD_CC |
104 | # @FUNCTION: tc-getBUILD_CC |
| 97 | # @USAGE: [toolchain prefix] |
105 | # @USAGE: [toolchain prefix] |
| 98 | # @RETURN: name of the C compiler for building binaries to run on the build machine |
106 | # @RETURN: name of the C compiler for building binaries to run on the build machine |
| 99 | tc-getBUILD_CC() { |
107 | tc-getBUILD_CC() { |