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

2011-01-24 Thread Joel Rosdahl
On 2011-01-24 19:44, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN wrote: > what i have been able to figure out is: solaris CC compiler uses > another option(-P) to generate preprocessor file. If I compile the > file with -P and then compile the generated .i file, it works!! The > problem is the -P option doe

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

2011-01-24 Thread NITIN KHOSLA, BLOOMBERG/ 731 LEXIN
Hi Joel - what i have been able to figure out is: solaris CC compiler uses another option(-P) to generate preprocessor file. If I compile the file with -P and then compile the generated .i file, it works!! The problem is the -P option doesn't obey the -o option. And ccache generates that -E outpu

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

2011-01-23 Thread Joel Rosdahl
On 2011-01-21 18:01, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN wrote: > CC: Invalid input file name /home/nkhosla/.ccache/tmp/FILENAME.ii, no > output generated for this file. > . > Above is the error I get from ccache. I modified FILENAME part. >>> Result: compiler produced no output > . > I found one po

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

2011-01-23 Thread Joel Rosdahl
On 2011-01-20 23:29, NITIN KHOSLA, BLOOMBERG/ 731 LEXIN wrote: > Though it works even when I do 'not' use --ccache-skip flag at all. > a) Is that what you expect? Yes. -- Joel ___ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailma

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

2011-01-21 Thread NITIN KHOSLA, BLOOMBERG/ 731 LEXIN
CC: Invalid input file name /home/nkhosla/.ccache/tmp/FILENAME.ii, no output generated for this file. . Above is the error I get from ccache. I modified FILENAME part. >> Result: compiler produced no output . I found one post: http://www.mail-archive.com/distcc@lists.samba.org/msg02316.html That

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 o

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: de

[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: unsupported