This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: 'ccache gcc' as compiler with libtool
- From: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- To: automake at gnu dot org
- Cc: Vincent Caron <v dot caron at zerodeux dot net>
- Date: Wed, 26 Nov 2003 09:47:23 -0600 (CST)
- Subject: Re: 'ccache gcc' as compiler with libtool
On Wed, 26 Nov 2003, Earnie Boyd wrote:
> So, you need to
>
> <file name='~/bin/cg++' status="untested">
> #! /bin/sh
> ccache g++ "$@"
> </file>
>
> Make sure ~/bin is in PATH and use cg++ to execute.
This approach does not work with libtool 1.5 and later unless this
script is specified as CXX for configure. Sometimes configuring using
the alternate compiler driver is not desireable since it may be doing
exotic things like memory or CPU profiling during the configure run.
Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen