LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: Faster and Faster Compilation (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-faster-and-faster-compilation-340656/)

jeremy 07-06-2005 12:48 PM

DISCUSSION: Faster and Faster Compilation
 
This thread is to discuss the article titled: Faster and Faster Compilation

JZL240I-U 07-13-2005 02:24 AM

Sorry, this is probably a stupid question ...
 
... but I don't get your meaning here:

"... Once installed, there are two ways to use ccache ... Alternatively, you can create a symbolic link to ccache from the names of your compilers, which allows you to use ccache without any changes to your build system. Make sure that the symlink appears in your PATH before the actual compiler."

Could you give an example, i.e. show the directory where you create the link and also print the ln-command(s)? (I italicized your text where my problem to understand arises).

vls 12-04-2005 01:20 PM

Quote:

Originally Posted by JZL240I-U
Could you give an example, i.e. show the directory where you create the link and also print the ln-command(s)? (I italicized your text where my problem to understand arises).

Code:

cp ccache /usr/local/bin/
ln -s /usr/local/bin/ccache /usr/local/bin/gcc
ln -s /usr/local/bin/ccache /usr/local/bin/g++
ln -s /usr/local/bin/ccache /usr/local/bin/cc

ccache man page

JZL240I-U 12-05-2005 06:59 AM

Ahhh-ha. Thanks a load. :)

vls 12-05-2005 03:04 PM

And it only took six months to get an answer. :rolleyes:

JZL240I-U 12-06-2005 01:41 AM

Well, better late than never. Nonetheless, thank you for your answer :).


All times are GMT -5. The time now is 04:21 PM.