/[gentoo-x86]/eclass/toolchain-funcs.eclass
Gentoo

Diff of /eclass/toolchain-funcs.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.58 Revision 1.59
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.58 2006/04/02 10:10:59 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.59 2006/06/28 16:19:46 kanaka Exp $
4# 4#
5# Author: Toolchain Ninjas <toolchain@gentoo.org> 5# Author: Toolchain Ninjas <toolchain@gentoo.org>
6# 6#
7# This eclass contains (or should) functions to get common info 7# This eclass contains (or should) functions to get common info
8# about the toolchain (libc/compiler/binutils/etc...) 8# about the toolchain (libc/compiler/binutils/etc...)
39tc-getCPP() { tc-getPROG CPP cpp "$@"; } 39tc-getCPP() { tc-getPROG CPP cpp "$@"; }
40# Returns the name of the C++ compiler 40# Returns the name of the C++ compiler
41tc-getCXX() { tc-getPROG CXX g++ "$@"; } 41tc-getCXX() { tc-getPROG CXX g++ "$@"; }
42# Returns the name of the linker 42# Returns the name of the linker
43tc-getLD() { tc-getPROG LD ld "$@"; } 43tc-getLD() { tc-getPROG LD ld "$@"; }
44# Returns the name of the strip prog
45tc-getSTRIP() { tc-getPROG STRIP strip "$@"; }
44# Returns the name of the symbol/object thingy 46# Returns the name of the symbol/object thingy
45tc-getNM() { tc-getPROG NM nm "$@"; } 47tc-getNM() { tc-getPROG NM nm "$@"; }
46# Returns the name of the archiver indexer 48# Returns the name of the archiver indexer
47tc-getRANLIB() { tc-getPROG RANLIB ranlib "$@"; } 49tc-getRANLIB() { tc-getPROG RANLIB ranlib "$@"; }
50# Returns the name of the fortran 77 compiler
51tc-getF77() { tc-getPROG F77 f77 "$@"; }
52# Returns the name of the fortran 90 compiler
53tc-getF90() { tc-getPROG F90 gfortran "$@"; }
48# Returns the name of the fortran compiler 54# Returns the name of the fortran compiler
49tc-getF77() { tc-getPROG F77 f77 "$@"; } 55tc-getFORTRAN() { tc-getPROG FORTRAN gfortran "$@"; }
50# Returns the name of the java compiler 56# Returns the name of the java compiler
51tc-getGCJ() { tc-getPROG GCJ gcj "$@"; } 57tc-getGCJ() { tc-getPROG GCJ gcj "$@"; }
52 58
53# Returns the name of the C compiler for build 59# Returns the name of the C compiler for build
54tc-getBUILD_CC() { 60tc-getBUILD_CC() {

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

  ViewVC Help
Powered by ViewVC 1.1.20