[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
studioware:tips_and_hints [2018/05/06 17:27 (UTC)] – Add cpufreq note dive | studioware:tips_and_hints [2019/04/24 18:00 (UTC)] – dive | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | + | ====== Studioware: Tips and Hints ====== |
- | ====== Studioware Tips and Hints ====== | + | |
===== Slackware ===== | ===== Slackware ===== | ||
- | * We recommend running Studioware on a stock vanilla | + | * We recommend running Studioware on a full Slackware Installation. |
===== Extra Options for sepkg/ | ===== Extra Options for sepkg/ | ||
Line 80: | Line 79: | ||
Slackware comes with ccache. | Slackware comes with ccache. | ||
- | To start using it, get root and:\\ | + | To start using it, get root and: |
- | cd / | + | |
- | ln -s / | + | < |
- | ln -s /usr/bin/ccache c++\\ | + | cd /usr/local/bin |
- | ln -s /usr/bin/ccache gcc\\ | + | |
- | ln -s / | + | |
- | To set a max size for the cache, use EG:\\ | + | ln -s / |
- | ccache -M 5G\\ | + | ln -s /usr/bin/ccache |
- | That sets a max size of 5GB in ~/.ccache\\ | + | ln -s / |
- | You obviously need to set it for your needs and available space.\\ | + | ln -s /usr/bin/ |
+ | </ | ||
- | To see some info about ccache, do:\\ | + | To set a max size for the cache: |
- | ccache -s\\ | + | |
+ | < | ||
+ | |||
+ | That sets a max size of 5GB in / | ||
+ | |||
+ | You obviously need to set it for your needs and available space. | ||
+ | |||
+ | To see some info about ccache, do: | ||
+ | |||
+ | < | ||
+ | |||
+ | To temporarily turn it off: | ||
+ | |||
+ | < | ||
- | To temporarily turn it off:\\ | ||
- | CCACHE_DISABLE=1\\ | ||
- | can be put in a SlackBuild or exported in the shell.\\ | ||
If that fails to work then just move the symlinks out of / | If that fails to work then just move the symlinks out of / | ||
- | and don't forget to read the man page. | + | Don't forget to read the man page. |
====== Sources ====== | ====== Sources ====== | ||
- | <!-- If you are copying information from another source, then specify that source --> | ||
- | <!-- * Original source: [[http:// | ||
- | <!-- Authors are allowed to give credit to themselves! --> | ||
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
* Contributions by [[wiki: | * Contributions by [[wiki: | ||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | ||
{{tag> | {{tag> | ||
+ |