[MPlayer-dev-eng] configure cc

Ivan Kalvachev ikalvachev at gmail.com
Sun Nov 27 19:48:20 CET 2005


2005/11/27, Diego Biurrun <diego at biurrun.de>:
> On Sun, Nov 27, 2005 at 05:50:13PM +0200, Ivan Kalvachev wrote:
> >
> > I already have new big HDD  and just like numerous mplayer developer I
> > had tried to speedup mplayer building process by ccache. Being a
> > little paranoid about it I would like to first test it without making
> > ccache a system wide (aka making overriding gcc links to ccache).
> >
> > So I tried to override it with export CC=ccache.
> > Fair enough ./configure ignored it completely. Then I tried to use
> > --cc=ccache, that had nearly same effect. Now it comes time for
> > inspection of configure.
>
> That's not the correct way to use ccache, see man ccache.  Either use it
> through a symlink or prefix the gcc command with ccache, i.e.
>
> /home/diego/bin/gcc --> /usr/bin/ccache

You forget to say that I must add "/home/user/bin" to the PATH before
the default /usr/bin.

>
> or
>
> ./configure --cc="ccache gcc"
>

I knew you would find out the little detail i wrote wrong. Of course I
found that out by myself after I send the letter. Unfortunately it
took quite some time for the mail to be delivered so i could reply on
it...

But even with the proper line above, it still doesn't use "cache gcc" 
but the fallback to"gcc".
It may be ccache mistake, but still, the point remains. Why configure
things cc is always gcc.




More information about the MPlayer-dev-eng mailing list