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

Schmid Alexander A.Schmid at de.ccv.eu
Mon Feb 14 01:45:54 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

Hi,

the CMAKE_SYSTEM_NAME is set to "Generic".


More information about the CMake mailing list