From 19fbb93636a9285ce6d1b4daf3bb4dffd410e685 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 28 Jun 2006 16:19:46 +0000 Subject: Add tc-getSTRIP. With gcc-4.X, GNU fortran is no longer f77, so add tc-getF90, and tc-getFORTRAN. --- eclass/toolchain-funcs.eclass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'eclass/toolchain-funcs.eclass') diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 0d31125a42fa..020728a3e66d 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.58 2006/04/02 10:10:59 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.59 2006/06/28 16:19:46 kanaka Exp $ # # Author: Toolchain Ninjas # @@ -41,12 +41,18 @@ tc-getCPP() { tc-getPROG CPP cpp "$@"; } tc-getCXX() { tc-getPROG CXX g++ "$@"; } # Returns the name of the linker tc-getLD() { tc-getPROG LD ld "$@"; } +# Returns the name of the strip prog +tc-getSTRIP() { tc-getPROG STRIP strip "$@"; } # Returns the name of the symbol/object thingy tc-getNM() { tc-getPROG NM nm "$@"; } # Returns the name of the archiver indexer tc-getRANLIB() { tc-getPROG RANLIB ranlib "$@"; } -# Returns the name of the fortran compiler +# Returns the name of the fortran 77 compiler tc-getF77() { tc-getPROG F77 f77 "$@"; } +# Returns the name of the fortran 90 compiler +tc-getF90() { tc-getPROG F90 gfortran "$@"; } +# Returns the name of the fortran compiler +tc-getFORTRAN() { tc-getPROG FORTRAN gfortran "$@"; } # Returns the name of the java compiler tc-getGCJ() { tc-getPROG GCJ gcj "$@"; } -- cgit v1.2.3-65-gdbad