[CMake] Cross-compiling: Cmake compiler and ABI check don´t work

Alexander Neundorf a.neundorf-work at gmx.net
Fri Feb 11 16:51:42 EST 2011


On Friday 11 February 2011, Schmid Alexander wrote:
> Hi,
>
>
>
> I am working with CMake 2.8.3 and trying to set up a cross-compiling
> toolchain for an ARMCC that runs on a Windows system.
>
>
>
> What I´ve done up to now is that I set up a toolchain file that I am using
> in combination with nmake makefiles.
>
> This file defines:
>
>
>
> SET( CMAKE_C_COMPILER   "${ARMCC_ROOT}/armcc.exe" )
>
> SET( CMAKE_CXX_COMPILER "${ARMCC_ROOT}/armcc.exe" )

Do you set CMAKE_SYSTEM_NAME ?
If no, that's probably the problem.
If yes, to what ? I guess Linux ?

Alex


More information about the CMake mailing list