[vtkusers] Which compiler and settings on SGI
Martin Baumann
mailsgetlost at web.de
Thu Mar 2 10:01:46 EST 2006
Hi,
what compiler do you use on your SGI Onyx2 machine for compiling VTK using CMake?
I tried gcc-2.95 but I get lots of errors:
The C compiler "/stripe1/segment/UNSUPPORTED/gcc-2.95.3/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
/lvdraid/user/ry149/local/bin/cmake -H/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp -B/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp
--check-build-system CMakeFiles/Makefile.cmake 0
/stripe1/segment/bin/gmake -f CMakeFiles/Makefile2 cmTryCompileExec
gmake[1]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
/lvdraid/user/ry149/local/bin/cmake -H/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp -B/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp
--check-build-system CMakeFiles/Makefile.cmake 0
/stripe1/segment/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/cmTryCompileExec.dir/all
gmake[2]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
/stripe1/segment/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/depend
gmake[3]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
Scanning dependencies of target cmTryCompileExec
/lvdraid/user/ry149/local/bin/cmake -E cmake_depends "Unix Makefiles" /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp
/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp
/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/DependInfo.cmake
gmake[3]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
/stripe1/segment/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[3]: Entering directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/stripe1/segment/UNSUPPORTED/gcc-2.95.3/bin/gcc -O -OPT:Olimit=2000 -diag_error 1035 -64 -O -OPT:Olimit=2000 -diag_error 1035 -64 -o
CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c /lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp/testCCompiler.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake[3]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1
gmake[3]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
gmake[2]: *** [CMakeFiles/cmTryCompileExec.dir/all] Error 2
gmake[2]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
gmake[1]: Leaving directory `/lvdraid/user/ry149/local/bin/vtk/vtk-5.0.0/CMakeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/rule] Error 2
I wrote a simple 'Hello World' program and compiled it using this gcc version. No errors!!!
Hmmm...
Thanks, M.B.
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
More information about the vtkusers
mailing list