From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26525 invoked by alias); 8 Jul 2002 15:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26507 invoked by uid 71); 8 Jul 2002 15:26:01 -0000 Resent-Date: 8 Jul 2002 15:26:01 -0000 Resent-Message-ID: <20020708152601.26506.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, danscox@mindspring.com Received: (qmail 24721 invoked by uid 61); 8 Jul 2002 15:21:58 -0000 Message-Id: <20020708152158.24720.qmail@sources.redhat.com> Date: Mon, 08 Jul 2002 08:26:00 -0000 From: danscox@mindspring.com Reply-To: danscox@mindspring.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/7233: provide ccache (see freshmeat.net) withing the gcc suite X-SW-Source: 2002-07/txt/msg00246.txt.bz2 List-Id: >Number: 7233 >Category: other >Synopsis: provide ccache (see freshmeat.net) withing the gcc suite >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: support >Submitter-Id: net >Arrival-Date: Mon Jul 08 08:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Daniel S. Cox >Release: Whenever is convienient >Organization: >Environment: ALL >Description: ccache is a seperate program that saves the .o files (and any stderr messages) from gcc -c. It forms an MD4 hash of the input file contents, the gcc driver size and mtime), and keeps the resultant files in a cache. On a later run, if an input files MD4 hash matches an extant file in the cache, that file is hard linked (if possible, or copied) instead of compiling again. This is the classic space versus time trade off, but saves an incredible amount of time during a 'make clean; make' run. Andrew Tridgel (Tridge of the Samba project) wrote this version. If gcc were modified to provide this functionality itself, it could do so much more effectively than any external program. Obviously, the feature would be off by default. Thank you for your time. >How-To-Repeat: see http://ccache.samba.org/ for the external program. >Fix: >Release-Note: >Audit-Trail: >Unformatted: