Commit Graph

684 Commits

Author SHA1 Message Date
Joel Rosdahl
816ec0053a Add another reason for direct mode miss but preprocessor mode hit 2010-05-30 11:38:02 +02:00
Joel Rosdahl
132814d603 Don't run link test suite when CC is an absolute path 2010-05-30 11:21:38 +02:00
Joel Rosdahl
77389a7849 Support /bin/sh that doesn't update $PWD 2010-05-30 11:20:53 +02:00
Joel Rosdahl
6bd6a5d158 Remove leftover debug commands 2010-05-30 11:19:53 +02:00
Joel Rosdahl
b441f4313e Feature macro portability magic borrowed from Python's configure.in 2010-05-30 10:55:58 +02:00
Joel Rosdahl
c247a6c656 Fix Solaris warnings about pid_t to int conversion 2010-05-30 10:47:25 +02:00
Bernhard Bauer
d4cdaed1f5 Don't crash when an unknown language is specified with -x. 2010-05-25 10:34:22 -07:00
Joel Rosdahl
609ad69a19 Potential Solaris build fix 2010-05-25 18:46:10 +02:00
Joel Rosdahl
ef8ffb8953 Correct include file distrust test case 2010-05-25 18:43:09 +02:00
Bernhard Bauer
5260ff0142 Change languages for preprocessed objective-c(++) output. 2010-05-24 21:32:55 -07:00
Bernhard Bauer
048e718410 Add test for -x compiler option. 2010-05-24 14:27:38 -07:00
Bernhard Bauer
e21e09c6a4 Correct language for preprocessed c (there's a typo in the gcc manpage). 2010-05-24 14:27:26 -07:00
Bernhard Bauer
577956c5b5 Clean up comments a bit. 2010-05-24 12:45:25 -07:00
Bernhard Bauer
fbaca2f9de Add support for the -x GCC switch (Based on http://www.mail-archive.com/ccache@lists.samba.org/msg00399.html) 2010-05-24 12:39:17 -07:00
Joel Rosdahl
87ef08d6c9 Mark up makefile target 2010-05-22 23:21:20 +02:00
Joel Rosdahl
fccc4a0b88 Add forgotten "General" in GPLv3+ news item 2010-05-22 23:05:35 +02:00
Joel Rosdahl
608c921cb0 Don't let empty include files turn off direct mode 2010-05-19 22:46:58 +02:00
Joel Rosdahl
39a7f839d9 Some reformulations about corrupt object files 2010-05-18 08:13:47 +02:00
Joel Rosdahl
a3787c4e2c Add a troubleshooting chapter to the manual 2010-05-17 23:10:17 +02:00
Joel Rosdahl
eb5d9bd3be Add some opt-in sloppiness 2010-05-17 22:29:42 +02:00
Joel Rosdahl
ba303352bb Add -Xpreprocessor to the list of options that disable direct mode 2010-05-17 20:12:17 +02:00
Joel Rosdahl
c922a9cc42 Add missing statistics update for -E option failures 2010-05-17 20:11:32 +02:00
Joel Rosdahl
763d2d389f Don't strip the ccache binary when installing
The user can do that himself if wanted.
2010-05-16 18:30:27 +02:00
Joel Rosdahl
a23ba28a74 Minor updates to the manual 2010-05-13 12:26:57 +02:00
Joel Rosdahl
cb2902b07a Log executed command in the parent process to get correct PID in the message 2010-05-12 08:50:17 +02:00
Joel Rosdahl
a83c52e1ee Allow at most one -arch compiler option 2010-05-12 08:36:25 +02:00
Joel Rosdahl
2679d08090 Prepare for v3.0pre1 2010-05-10 22:06:34 +02:00
Joel Rosdahl
7a79364bca Prefix each log row with a timestamp 2010-05-10 22:02:59 +02:00
Joel Rosdahl
1737ec889f Refactor log functions yet some 2010-05-10 21:37:19 +02:00
Ramiro Polla
6e40dc5442 Move mkstemp() replacement to before its use. 2010-05-10 21:14:39 +02:00
Joel Rosdahl
1a56b7d238 Document recursive invocation improvement 2010-05-10 19:29:22 +02:00
Joel Rosdahl
4795f6e3de Improve log initialization 2010-05-10 18:30:17 +02:00
Joel Rosdahl
247f619565 Dont' crash when logging is disabled 2010-05-09 23:23:43 +02:00
Joel Rosdahl
48f9d72e98 Reformulate CCACHE_LOGFILE info 2010-05-09 22:57:03 +02:00
Joel Rosdahl
862e729f07 Log executed commands 2010-05-09 22:51:16 +02:00
Joel Rosdahl
2c0d4095ad Introduce cc_log_no_newline function 2010-05-09 22:43:04 +02:00
Joel Rosdahl
39f48df93b Extract print_command function from print_executed_command 2010-05-09 22:19:22 +02:00
Joel Rosdahl
4ea12e1d1d Some notes about sharing a cache on NFS 2010-05-09 22:11:14 +02:00
Joel Rosdahl
14865889bd Document that CCACHE_TEMPDIR no longer needs to be on the same fs as CCACHE_DIR 2010-05-09 21:39:26 +02:00
Joel Rosdahl
c9b159e541 Use colon instead of whitespace as CCACHE_EXTRAFILES separator 2010-05-09 21:20:41 +02:00
Joel Rosdahl
24e6033df7 Detect recursive execution of ccache due to misnamed ccache binary 2010-05-09 20:03:08 +02:00
Joel Rosdahl
d3314ffe55 Improve compiler detection error message 2010-05-09 20:02:37 +02:00
Joel Rosdahl
66f175d54d Handle va_list correctly in fatal() when also writing to log file 2010-05-09 20:00:09 +02:00
Joel Rosdahl
c609b16cc0 Rename temporary object file to cached object file if possible
This avoids copying the object file unnecessarily in the common case when we
store object files uncompressed in the cache.
2010-05-09 17:50:20 +02:00
Joel Rosdahl
f12d64243f Refactor error checking code in copy_file 2010-05-09 17:33:59 +02:00
Joel Rosdahl
022c16be74 Improve logging of error conditions in copy_file 2010-05-09 17:19:36 +02:00
Joel Rosdahl
89fe28488e Check error from gzread when copying file 2010-05-09 16:59:08 +02:00
Wilson Snyder
7f2c7aa91d Include hostname in temporary file name to avoid NFS race 2010-05-09 13:28:34 +02:00
Wilson Snyder
45b4932efb Show hostname and CWD in logfile 2010-05-09 13:18:38 +02:00
Joel Rosdahl
d4a20d5a3a Bail out early on -arch since it's too hard 2010-05-09 13:08:06 +02:00