[ccache] ccache compilation under MinGW/MSys lots of undefined reference to `cc_log` messages

Jonathan Martens jonathan at snetram.nl
Wed Aug 3 07:39:29 MDT 2011

Today I tried to compile ccache under MinGW/MSys as I would like to use 
it on a Windows machine.

I am using gcc 4.5.2 under MinGW/MSys:

$ gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.5.2/configure 
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared 
mp --disable-win32-registry --enable-libstdcxx-debug 
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.2 (GCC)

I have found that funcions that are defined in ccache.h are actually not 
all in ccache.c, cc_log is in util.c

Could the error be related to that?

Kind regards,


More information about the ccache mailing list