SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
cache directory /home/uninstance/.ccache
primary config /home/uninstance/.ccache/ccache.conf
secondary config (readonly) /etc/ccache.conf
stats updated Wed Jan 8 09:45:19 2020
cache hit (direct) 0
cache hit (preprocessed) 0
cache miss 0
cache hit rate 0.00 %
called for link 7
couldn't find the compiler 1
no input file 29
cleanups performed 0
files in cache 0
cache size 0.0 kB
max cache size 10.0 GB
Problem: As you can see symlinks work and max cache size is appropriate but actual cache size is 0.
Not sure how ccache works in Slackware but in FreeBSD, you have to tell whatever is building the software that ccache is present and where the cache is. Is there another configuration (make.conf?) you have to set?
Not sure how ccache works in Slackware but in FreeBSD, you have to tell whatever is building the software that ccache is present and where the cache is. Is there another configuration (make.conf?) you have to set?
It is not system dependent. There are two ways to use ccache, you either prepend compiler commands with ccache or create symlinks.
Understood, what I meant was that on FreeBSD, I have to tell the builder (in my case poudrier) that ccache is present and where the cache is. I have no idea how it is done in Linux.
Understood, what I meant was that on FreeBSD, I have to tell the builder (in my case poudrier) that ccache is present and where the cache is. I have no idea how it is done in Linux.
This is a building system that prepends compiler commands that you use with ccache if you ask it to. Or it you can create symlinks so that you do not have to tell your build system to use ccache.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.