[CMake] codesourcery integration
Rolf Eike Beer
eike at sf-mail.de
Wed Nov 17 12:46:29 EST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101117/9d08478c/attachment.pgp>
More information about the CMake
mailing list