bump for the update on the compiling instructions for the gcc 4.4.0, because apparently for some reason I can't configure it by using cmake and I did the installation manually, because the automatic installation isn't updated with the latest MinGW release. It gives me this following error. When I try to configure it.
Code: Select all
The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Users/alex/Desktop/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: C:/Users/alex/Desktop/spring/CMakeFiles/CMakeTmp
Run Build Command:C:/MinGW/bin/mingw32-make.exe "cmTryCompileExec/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec.dir\build.make
CMakeFiles/cmTryCompileExec.dir/build
mingw32-make.exe[1]: Entering directory
`C:/Users/alex/Desktop/spring/CMakeFiles/CMakeTmp'
C:\Users\alex\Desktop\cmake-2.6.4-win32-x86\bin\cmake.exe -E
cmake_progress_report
C:\Users\alex\Desktop\spring\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj
C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj
-c C:\Users\alex\Desktop\spring\CMakeFiles\CMakeTmp\testCCompiler.c
Linking C executable cmTryCompileExec.exe
C:\Users\alex\Desktop\cmake-2.6.4-win32-x86\bin\cmake.exe -E
cmake_link_script CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1
C:\MinGW\bin\gcc.exe CMakeFiles\cmTryCompileExec.dir\testCCompiler.c.obj -o
cmTryCompileExec.exe -Wl,--out-implib,libcmTryCompileExec.dll.a
-Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32
-lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
-ladvapi32
c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
crt2.o: No such file: No such file or directory
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [cmTryCompileExec.exe] Error 1
mingw32-make.exe[1]: Leaving directory
`C:/Users/alex/Desktop/spring/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
Configuring incomplete, errors occurred!
Well apparently it can't seemed to find the crt2.o file and I did a search on it and it doesn't seem to find it. Were can I find and download the crt2.o file located in the list of MinGW downloads?