Am Mittwoch, 17. November 2010 schrieb Andrea Galeazzi:
> I'm facing the problem of using the cross compile toolchain of
> CodeSourcery. My host system in Windows and my target is ARM-Linux.
> I red this tutorial http://www.cmake.org/Wiki/CMake_Cross_Compiling and
> I tried to do something similar:
> # this one is important
> SET(CMAKE_SYSTEM_NAME Linux)
> #this one not so much
> SET(CMAKE_SYSTEM_VERSION 1)
> 
> # specify the cross compiler
> SET(CMAKE_C_COMPILER   C:/Programmi/CodeSourcery/Sourcery G++
> Lite/bin/arm-none-linux-gnueabi-gcc.exe)

Try to quote the compiler path as there are spaces in it.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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