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