Hi,

Thanks for the reply.

> 
> What version of CMake?

hpci6001t(salmr0)42:cmake --version
cmake version 2.8.1


> 
> Is this xlc on Linux?

Yes. It is xlc on Linux.

 
> Did you try to switch the compiler after creating the build tree?

I am very new to cmake so I am not sure but I want to say the answer is no.
I basically create a fresh out of source build tree I believe.


I am doing and out of source build.  Something like this.
hpci6001t(salmr0)54:mkdir build
hpci6001t(salmr0)55:cd build/
hpci6001t(salmr0)56:ccmake ../CMakeLists.txt

After using the cmake gui doing a configure and generate I simply type make.

hpci6001t(salmr0)126:make VERBOSE=1
Linking C executable fd3ptr
cd /gpfs01/vol0/salmr0/mspain/fd/build/src &&
/hpc/soft/cmake/ppc64/cmake-2.8.1/bin/cmake -E cmake_link_script
CMakeFiles/fd3ptr.dir/link.txt --verbose=1
xlc_r  -O3 -qhot   CMakeFiles/fd3ptr.dir/fd3ptr.c.o  -o fd3ptr -rdynamic
xlc_r: 1501-216 (W) command option -dynamic is not recognized - passed to ld
/usr/bin/ld: unrecognized option '-dynamic'
/usr/bin/ld: use the --help option for usage information


Thanks for the help.
Rene

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to