Juan Sanchez wrote:
Hi Bill,

Currently we are using gcc 3.4.0 and 4.1.1.  Our systems are ancient and
are using Redhat Enterprise 3 or 4.  The version of ld is too old, and
it is being passed a flag by gcc 4.1.1 it doesn't recognize.  Curiously
g++ 4.1.1 doesn't have this problem.  Neither does gcc 4.2.0.

The only "C" code being compiled for this particular project is the
CMake tests.  I need to disable the tests so I can proceed to
demonstrate cmake to my colleagues.  I will fix the compiler issue later
with our systems team.
Why not use gcc 4.2.0?

setenv CC gcc-4.2
setenv CXX g++4.1.1
cmake ..

Or, you can use the CXX option in the project command.

-Bill

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to