[CMake] trouble with cmake 2.6-patch 0 cross compiling.

Phil Pellouchoud Phil at slacker.com
Wed Jul 16 17:17:01 EDT 2008


Egads!  That was it!  Thanks!  Dang typos!

-phil

-----Original Message-----
From: Andreas Pokorny [mailto:andreas.pokorny at gmail.com] 
Sent: Wednesday, July 16, 2008 1:17 PM
To: Phil Pellouchoud
Cc: cmake at cmake.org
Subject: Re: [CMake] trouble with cmake 2.6-patch 0 cross compiling.

Hello,

2008/7/16 Phil Pellouchoud <Phil at slacker.com>:
> Hi.
> [...]
> -- toolchain.cmake --
> SET( CMAKE_SYSTEM_NAME foobar )
> SET( CMAKE_SYST EM_VERSION 1 )
> SET( CMAKE_SYSTEM_PROCESSOR arm-foo )
> SET( CMAKE_SYSTEM_C_COMPILER /absolute/path/to/compiler )
> SET( CMAKE_SYSTEM_CXX_COMPILER /absolute/path/to/compiler )
> SET( CMAKE_FIND_ROOT_PATH /absolute/path/to/compiler/tools )
>

That should be
SET( CMAKE_C_COMPILER /absolute/path/to/compiler )
SET( CMAKE_CXX_COMPILER /absolute/path/to/compiler )


kind regards
Andreas Pokorny


More information about the CMake mailing list