I'm getting following output when I try the 32bit compilation on 64bit Linux:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /bin/gcc
-- Check for working C compiler: /bin/gcc -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/qubodup/src/git/PenumbraOverture/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory
`/home/qubodup/src/git/PenumbraOverture/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/qubodup/src/git/PenumbraOverture/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/bin/gcc -m32 -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
/home/qubodup/src/git/PenumbraOverture/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/bin/gcc -m32 CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o
cmTryCompileExec -rdynamic
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/libgcc.a when searching for
-lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make[1]: *** [cmTryCompileExec] Error 1
make[1]: Leaving directory
`/home/qubodup/src/git/PenumbraOverture/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!