using --tag=XXX in automake-generated rules (Was: Re: 'ccache gcc' as compiler with libtool)

2004-01-02 Thread Alexandre Duret-Lutz
>>> "Gary" == Gary V Vaughan <[EMAIL PROTECTED]> writes: [...about Automake passing --tag=XXX to libtool...] Gary> Alexandre Duret-Lutz wrote: >> >> How can automake determine whether the version of libtool used in >> >> a package supports --tag ? [...] Gary> _LT_AC_TAGCONFIG exists in branch-1

Re: 'ccache gcc' as compiler with libtool

2003-11-28 Thread Bob Friesenhahn
On Fri, 28 Nov 2003, Gary V. Vaughan wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Alexandre Duret-Lutz wrote: > | How can automake determine whether the version of libtool used in > | a package supports --tag ? > > test -n "`libtool --help | grep -- --tag=TAG`" This doesn't seem l

Re: 'ccache gcc' as compiler with libtool

2003-11-28 Thread Gary V. Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre Duret-Lutz wrote: |>>>"Gary" == Gary V Vaughan <[EMAIL PROTECTED]> writes: | | | Gary> Alexandre Duret-Lutz wrote: | >> How can automake determine whether the version of libtool used in | >> a package supports --tag ? | | Gary> test -n "`l

Re: 'ccache gcc' as compiler with libtool

2003-11-28 Thread Alexandre Duret-Lutz
>>> "Gary" == Gary V Vaughan <[EMAIL PROTECTED]> writes: Gary> Alexandre Duret-Lutz wrote: >> How can automake determine whether the version of libtool used in >> a package supports --tag ? Gary> test -n "`libtool --help | grep -- --tag=TAG`" But libtool doesn't exist at the time automake ru

Re: 'ccache gcc' as compiler with libtool

2003-11-28 Thread Gary V. Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre Duret-Lutz wrote: | How can automake determine whether the version of libtool used in | a package supports --tag ? test -n "`libtool --help | grep -- --tag=TAG`" - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist

Re: 'ccache gcc' as compiler with libtool

2003-11-27 Thread Alexandre Duret-Lutz
>>> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> writes: [...] Bob> I believe that Automake would be more robust with Libtool 1.5 and Bob> later if it automatically provided the --tag= option to libtool. [...] This is on the TODO list. Maybe someone can look at this for Automake 1.9. How can

Re: 'ccache gcc' as compiler with libtool

2003-11-26 Thread Bob Friesenhahn
On Wed, 26 Nov 2003, Earnie Boyd wrote: > So, you need to > > > #! /bin/sh > ccache g++ "$@" > > > 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 al

Re: 'ccache gcc' as compiler with libtool

2003-11-26 Thread Bob Friesenhahn
On a related note, I learned yesterday that I can bend Automake to my will by adding this to Makefile.am: LIBTOOL = @LIBTOOL@ $(LIBTOOL_TAG) and then externally pass a tag option like make CXX='foo' LIBTOOL_TAG='--tag=CXX' I believe that Automake would be more robust with Libtool 1.5 and la

Re: 'ccache gcc' as compiler with libtool

2003-11-26 Thread Vincent Caron
Earnie Boyd wrote: So, you need to #! /bin/sh ccache g++ "$@" I have an autoconf macro detecting ccache, so I could indeed generate such a file on the fly. However, as a maintainer, I find it easier to request developers to have up-to-date autotools rather than keeping another 'permanent te

Re: 'ccache gcc' as compiler with libtool

2003-11-26 Thread Earnie Boyd
So, you need to #! /bin/sh ccache g++ "$@" Make sure ~/bin is in PATH and use cg++ to execute. Earnie. Vincent Caron wrote: Hello, I'm running automake 1.7.9 as packaged in Sid, and having trouble using 'cache gcc' as compiler. I get this error : /bin/sh ../libtool --mode=link ccache g++

'ccache gcc' as compiler with libtool

2003-11-25 Thread Vincent Caron
Hello, I'm running automake 1.7.9 as packaged in Sid, and having trouble using 'cache gcc' as compiler. I get this error : /bin/sh ../libtool --mode=link ccache g++ -Wall [...] libtool: link: unable to infer tagged configuration libtool: link: specify a tag with `--tag' As far as I could se