Yannick Cote wrote:
Hi,

visiting http://www.cmake.org/Wiki/CMake_Cross_Compiling, I discovered
a way to tell cmake not to test the C cross-compiler.

However the source tree has changed recently and including
"CMakeForceCompiler" will not work anymore.

CMake Error: Do not include the CMakeForceCompiler module.  It is no
longer necessary.  Update your toolchain file as follows.

I tried updating my Toolchain file as suggested but it ends up testing
the compiler which wont work with the project I work on simply because
the cross-compiler has to build source code from the project in order
to link successfully a simple test program.

What's the current way of dealing with this situation ?

I had removed the old one because I though it was only for eCos which I got working without it. Update from cvs. There is a new CMakeForceCompiler there. It doesn't have the sizeof(void*) argument, so just leave that off.

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to