Is ccache safe to be used with psp-gcc and psp-g++ ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Is ccache safe to be used with psp-gcc and psp-g++ ?

Post by Panajev2001a »

I compiled cache on Cygwin (not cross-compiled since it runs on this PC and not PS2) and have this in my Makefile after build.mak is included:

CC = ccache psp-gcc
CXX = ccache psp-g++

I am not using ccache for AS and LD though: ccache -s still reports to be used for non C/C++ files and being called for linking, but I do not think it should be a problem.

I have been using ccache for a long time with PS2Linux's GCC 2.95.2, but never with GCC 4.0.1 not to mention one patched to generate ALLEGREX compatible/optimized code ;).
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

I've had no problems with ccache... or distcc.

There is no need to specify it in the makefile. Just override CC and CXX when running make.
Post Reply