I'm trying to build Code::Blocks from source. So far I have followed these instructions to the letter
http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_2.6.1_to_develop_Code::Blocks_%28MSW%29
Error:Switching to target: tinyXML
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DCB_PRECOMP -DWX_PRECOMP -DEXPORT_LIB -IC:\source\wxWidgets-2.6.2\include -IC:\source\wxWidgets-2.6.2\lib\codeblocks\msw -IC:\source\wxWidgets-2.6.2\contrib\include -Isdk\wxscintilla\include -IC:\Programs\MinGW\include -c sdk\tinyxml\tinyxml.cpp -o .objs\2.6\sdk\tinyxml\tinyxml.o
cc1plus.exe: unrecognized option `-Winvalid-pch'
I searched the web for -Winvalid-pch but couldn't find anything on it.
Code::Blocks Version 1.0 Release Candidate 2 (downloaded and installed from
http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download$ mingw32-g++ -v
Reading specs from c:/Programs/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c++,f77,objc --disable-win32-registry --disable-shared --enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)
wxWidgets 2.6.2 from
http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.6.2.zip