I am having a problem trying to statically build qt.
I run the following commands:

configure.exe -static -debug-and-release -stl -qt-gif
mingw32-make sub-src


This is what it gives me:

g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_BOOTSTRAPPED -DQT_RCC -DQT_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -
DQT_NO_QOBJECT -DQT_NO_UNICODETABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT_N
O_GEOM_VARIANT -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include" -I
"." -I"..\..\..\include\QtCore" -I"..\..\..\include\QtXml" -I"..\..\3rdparty\zli
b" -I"." -I"..\..\..\mkspecs\win32-g++" -o tmp\obj\release_static\qfsfileengine_
iterator_win.o ..\..\corelib\io\qfsfileengine_iterator_win.cpp
gcc -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_RCC -DQ
T_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_UNICODE
TABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NODLL -I".
.\..\corelib\arch\generic" -I"..\..\..\include" -I"." -I"..\..\..\include\QtCore
" -I"..\..\..\include\QtXml" -I"..\..\3rdparty\zlib" -I"." -I"..\..\..\mkspecs\w
in32-g++" -o tmp\obj\release_static\adler32.o ..\..\3rdparty\zlib\adler32.c
gcc: installation problem, cannot exec `cc1': No such file or directory
mingw32-make[2]: *** [tmp\obj\release_static\adler32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/4.3.1/src/tools/rcc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.1/src/tools/rcc'
mingw32-make: *** [sub-rcc-sub_src_target_ordered] Error 2

C:\Qt\4.3.1


What is cc1?
If anyone can help, it would be appreciated.
Thanks
Wali