[ccache] Ccache and cross compilers

2012-07-09 Thread DATACOM - Samuel Lucas
Hi, I'm using ccache in a project with gcc 4.0 power pc compilers from ELDK 4. We have two powerpc architectures (ppc_6xx-gcc and ppc_8xx-gcc). In ELDK both ppc_6xx-gcc and ppc_8xx-gcc are symbolic links to a single binary, powerpc-linux-gcc, which produces different objects depending on the

Re: [ccache] [PATCH] Some patches for Xcode support

2010-05-17 Thread DATACOM - Samuel Lucas
On 05/16/2010 12:40 PM, Joel Rosdahl wrote: The patch looks OK, except that it seems that -fpreprocessed was added in GCC 3.0, so GCC 2.95 wouldn't be supported anymore if we add the flag unconditionally. I don't know if anyone still uses GCC 2.95, but maybe we could do it like this instead:

Re: [ccache] Performance of a network-shared ccache

2010-05-04 Thread DATACOM - Samuel Lucas
Hi Steffen, I have tried both ccache 2.4 (from debian) and 3.0pre0. Version 2.4 was unusable for me, it used over 20Mbps for a single user compiling (regardless of cache hit or miss, it creates large temporary files in the cache directory). Version 3.0pre0 worked well after setting

Re: [ccache] Temporary Files vs NFS

2010-04-14 Thread DATACOM - Samuel Lucas
[...] If we allow temporary files in local machine, would it create all temporary files (.i, etc) locally and then transfer in the network only the hash, speeding up the process? In ccache 2.4, CCACHE_TEMPDIR needs to be on the same file system as CCACHE_DIR, but in 3.0pre0 that

[ccache] Temporary Files vs NFS

2010-04-13 Thread DATACOM - Samuel Lucas
Hi, I'm considering using a shared cache over NFS, but I'm a bit concerned about creating the temporary files over NFS. Wouldn't the network become a performance bottleneck? For one of my application, the times for a second run are: - Disabled cache: 7min 25sec - Local cache: 3min 32sec - NFS