[ccache] Issues using ccache

2011-01-20 Thread NITIN KHOSLA, BLOOMBERG/ 731 LEXIN
I am using first time. I have read documentation but not found my answers. Simple command: ccache gcc -o 1.o 1.c ccache -V ccache version 3.1.4 a) Ran first time and then second time. What called for link means? called for link1 called for link

Re: [ccache] Issues using ccache

2011-01-20 Thread Martin Pool
On 20 January 2011 11:20, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN nkhos...@bloomberg.net wrote: I am using first time. I have read documentation but not found my answers. Simple command: ccache gcc -o 1.o 1.c ccache -V ccache version 3.1.4 a) Ran first time and then second time. What called for

Re: [ccache] Issues using ccache

2011-01-20 Thread NITIN KHOSLA, BLOOMBERG/ 731 LEXIN
Ok. Found it. ccache only works with compiler. So -c option has to be there. Tried with solaris compiler. a) CC compiler's one of the options are as -xprefetch=no%auto,explicit . ccache log says: . [2011-01-20T13:45:30.259109 13240] Unsupported language: prefetch=no%auto,explicit

[ccache] How to make ccache not interpret 'multiple' compiler options

2011-01-20 Thread NITIN KHOSLA, BLOOMBERG/ 731 LEXIN
Facing an issue with solaris compiler options. Our solaris compiler command takes many -xflags. Command: ccache CC -xcode=pic32 -xdebugformat=stabs -c -o file.o file.c [2011-01-20T14:54:50.499872 9962 ] Unsupported language: debugformat=stabs [2011-01-20T14:54:50.509438 9962 ] Result:

Re: [ccache] How to make ccache not interpret 'multiple' compiler options

2011-01-20 Thread Joel Rosdahl
On 2011-01-20 21:01, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN wrote: Facing an issue with solaris compiler options. Our solaris compiler command takes many -xflags. Command: ccache CC -xcode=pic32 -xdebugformat=stabs -c -o file.o file.c [2011-01-20T14:54:50.499872 9962 ] Unsupported language:

Re: [ccache] How to make ccache not interpret 'multiple'

2011-01-20 Thread NITIN KHOSLA, BLOOMBERG/ 731 LEXIN
Thanks Joel. I made the change and it seems to be working. Though it works even when I do 'not' use --ccache-skip flag at all. a) Is that what you expect? b) It works for simple files But for a heavily templatized source file(object size = 23mb). ccache returned compiler produced no output but