[ccache] Using WindRiver Diab C++ v5.0 compiler with ccache

euphoria at arcor.de euphoria at arcor.de
Wed Oct 5 12:37:51 GMT 2005


Hi,

thanks to ccache developers for such a great tool!

Unfortunately I ran into problems.

I was wondering whether someone has successfully applied ccache to WindRiver's Diab C++ compiler (dplus). Its syntax is quite similar to gcc.

I see a lot of "preprocessor errors" in ccache statistics. However I don't see any from Diab stdout during build.
We use the omake build system. The appropriate makefile contains the following entry for .cpp:
$(CC) $(CFLAGS) $(INC_DIR) -o $(.TARGET) $(.SOURCE)

I modified that line to:
$(CC) $(CFLAGS) $(INC_DIR) -o $(.TARGET) -c $(.SOURCE)

...in order to get hit by ccache. Otherwise I only get "called for link" counts in ccache statistics.
I also tried to define CCACHE_CPP2 with no differences in the end.

Perhaps it's just a problem in the makefile since a manual call of e.g. "ccache dplus -c main.cpp -o main.o" works and generates ccache hits on succeeding calls.

Using ccache v2.2 on CYGWIN_NT-5.1

I'm eagerly awaiting your responses :)

    Florian



Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1


More information about the ccache mailing list