Hi,
I have a bunch of  questions related to cross compilation using CMake.

I am using CMake for a C project. The build process works very well
for both linux and windows. I am now trying to sort out cross
compilation from linux to windows. I gathered information from the
CMake wiki and manage to get this working without any problem using
http://mingw-cross-env.nongnu.org/. I just needed to add one variation
compared to the documentation on the wiki. My toolchain file needed to
contain an override for the ranlib util. The build process generated
by CMake was trying to use the default one provided by the host
system. Is there any reason why this is not mention at all on the
wiki? Is it supposed to be guessed by CMake? Are there any other way
to achieve that without explicitly referencing the ranlib tool in the
toolchain file?

My main problem appeared when I tried to use the debian package
providing the toolchain i586-mingw32msvc. The built with CMake worked
fine following operations as expected. However, none of the executable
generated are failing to execute. Does anyone experienced this problem
before?

-- 
Olivier Delannoy
_______________________________________________
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