[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.
COLLECT_GCC=D:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.2/configure 
--enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared 
--enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug 
--enable-version-specific-r
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,

Jonathan


More information about the ccache mailing list