Try: cc Line: cc -O2 -march=i486 -mtune=i686 cmake_bootstrap_15838.test.c -o cmake_bootstrap_15838.test ---------- file ----------------------- #ifdef __cplusplus # error "The CMAKE_C_COMPILER is set to a C++ compiler" #endif #include #if defined(__CLASSIC_C__) int main(argc, argv) int argc; char* argv[]; #else int main(int argc, char* argv[]) #endif { printf("%d\n", (argv != 0)); return argc-1; } ------------------------------------------ 1 Test succeded Try: aCC Line: aCC -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: aCC: command not found Test failed to compile Try: aCC Line: aCC -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: aCC: command not found Test failed to compile Try: aCC Line: aCC -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: aCC: command not found Test failed to compile Try: xlC Line: xlC -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: xlC: command not found Test failed to compile Try: xlC Line: xlC -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: xlC: command not found Test failed to compile Try: xlC Line: xlC -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: xlC: command not found Test failed to compile Try: CC Line: CC -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: CC: command not found Test failed to compile Try: CC Line: CC -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: CC: command not found Test failed to compile Try: CC Line: CC -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: CC: command not found Test failed to compile Try: g++ Line: g++ -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/climits:49, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:66, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iostream:45, from cmake_bootstrap_15838.test.cxx:2: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory Test failed to compile Try: g++ Line: g++ -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ In file included from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:31, from cmake_bootstrap_15838.test.cxx:4: /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/climits:49, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:66, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:32, from cmake_bootstrap_15838.test.cxx:4: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory Test failed to compile Try: g++ Line: g++ -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ In file included from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:31, from cmake_bootstrap_15838.test.cxx:4: /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/climits:49, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:66, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:32, from cmake_bootstrap_15838.test.cxx:4: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory Test failed to compile Try: c++ Line: c++ -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/climits:49, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:66, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iostream:45, from cmake_bootstrap_15838.test.cxx:2: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory Test failed to compile Try: c++ Line: c++ -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ In file included from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:31, from cmake_bootstrap_15838.test.cxx:4: /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/climits:49, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:66, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:32, from cmake_bootstrap_15838.test.cxx:4: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory Test failed to compile Try: c++ Line: c++ -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ In file included from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:31, from cmake_bootstrap_15838.test.cxx:4: /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:144, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:122, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/syslimits.h:7, from /usr/lib/gcc/i486-slackware-linux/3.4.6/include/limits.h:11, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/climits:49, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_algobase.h:66, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/char_traits.h:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:46, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/backward/iostream.h:32, from cmake_bootstrap_15838.test.cxx:4: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory Test failed to compile Try: icc Line: icc -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: icc: command not found Test failed to compile Try: icc Line: icc -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: icc: command not found Test failed to compile Try: icc Line: icc -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: icc: command not found Test failed to compile Try: como Line: como -O2 -march=i486 -mtune=i686 -DTEST1 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: como: command not found Test failed to compile Try: como Line: como -O2 -march=i486 -mtune=i686 -DTEST2 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: como: command not found Test failed to compile Try: como Line: como -O2 -march=i486 -mtune=i686 -DTEST3 cmake_bootstrap_15838.test.cxx -o cmake_bootstrap_15838.test ---------- file ----------------------- #if defined(TEST1) # include #else # include #endif class NeedCXX { public: NeedCXX() { this->Foo = 1; } int GetFoo() { return this->Foo; } private: int Foo; }; int main() { NeedCXX c; #ifdef TEST3 cout << c.GetFoo() << endl; #else std::cout << c.GetFoo() << std::endl; #endif return 0; } ------------------------------------------ /tmp/SBo/cmake-2.4.3/bootstrap: line 361: como: command not found Test failed to compile