[CMake] Building CMake 2.8.0 on 64-bit SUSE

Timothy Shead tshead at sandia.gov
Fri Feb 19 12:59:48 EST 2010


On 2/19/10 10:36 AM, Bill Hoffman wrote:
> Timothy Shead wrote:
>> I'm having trouble bootstrapping CMake 2.8.0 on 64-bit SUSE - while
>> linking the "cmake" executable, I get the following:
>>
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:cmListFileLexer.o:
>>
>> file format not recognized; treating as linker script
> I notice it is using cc and g++.  You might want to have it use gcc and
> g++.
>
> export CC=gcc
> export CXX=g++
> bootstrap.
>
> Be sure to start with a clean source/build tree.

Bill:

That did the trick, working like a charm now ... thanks!

Cheers,
Tim



More information about the CMake mailing list