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 ;).
Is ccache safe to be used with psp-gcc and psp-g++ ?
-
- Posts: 100
- Joined: Sat Aug 20, 2005 3:25 am