[Scribus] Qt 3.2.2

Koblinger Egmont egmont
Sat Nov 15 14:01:29 CET 2003


On Sat, 15 Nov 2003, Gerhard Gaussling wrote:

Hi!

> In the manpage of ccache I read these lines:
>
>
>      To install for the second method do something like this:
>
>          cp ccache /usr/local/bin/
>          ln -s /usr/local/bin/ccache /usr/local/bin/gcc
>          ln -s /usr/local/bin/ccache /usr/local/bin/cc
>
>
>
> What's about g++ ?
>
> 	Do I have also make such a link for g++ and other compilers?
>
> 	 ln -s /usr/local/bin/ccache /usr/local/bin/g++

Yes, the same for c++ and g++, and for all those i386-pc-linux-gnu-g++ and
similar filenames (so all the c and c++ compiler executables). And then
put /usr/local/bin in your PATH, prior to /usr/bin.

With my installation, the ccache executable is under /usr/bin, so as gcc
and similar stuff, and the symlinks are in /usr/lib/ccache. I've chosen
this directory instead of /usr/local/bin. But that should be okay, too.
My path is /usr/local/bin:/bin:/usr/lib/ccache:/usr/bin.
The contents of my /usr/lib/ccache is:
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 c++ -> ../../bin/ccache
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 cc -> ../../bin/ccache
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 g++ -> ../../bin/ccache
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 gcc -> ../../bin/ccache
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 i386-pc-linux-gnu-c++ -> ../../bin/ccache
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 i386-pc-linux-gnu-g++ -> ../../bin/ccache
lrwxrwxrwx    1 root     root           16 Nov 13 00:38 i386-pc-linux-gnu-gcc -> ../../bin/ccache

After installing, I suggest giving it a try by compiling and re-compiling
a smaller application, such as a GNU utility or something like that.
If you can notice the speedup, and see your ~/.ccache growing, then it's
okay. Later you can manage your ~/.ccache dir either by the ccache command
(it has a clear and straightforward manpage and --help) or by manually
removing some files if it grows too big).

> And whats about the gmake step Paul mentioned in this thread?
> I don't have gmake, but qmake in the qt directory and GNU make which is
> started as `make` on the shell.
>
> # make -version
> GNU Make 3.80

I don't have gmake command either, but I guess gmake means GNU make, so
probably a gmake -> make symlink should be all you need.




bye,
Egmont




More information about the scribus mailing list